I am using xpcom to download a file using TCP in a
separate thread (C++ code). When the file download is
complete I want mozilla to display the file as if the
user had downloaded the file by http using mozilla.  I
know of the function document.write but this is only
for html data. The file that was downloaded in the
separate thread could be of any type(for example if it
is an mp3 file I want mozilla to start the approprioat
plugin for mp3s). I know that a plugin can push data
to mozilla, but I haven't been able to find anything
about this for browser extensions. 

Thanks a lot for your help,

Brad

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

Reply via email to