Hi Vineeth, Thanks for the help...
I can download a page using nsIWebBrowserPersists but how do i find which link target I need to download. For example if a user clicks on a link pointing to a zip file then how could I know that link is pointing to a zip file that browser can't open and it needs to be downloaded. I searched on xulplanet and found many interfaces related to downloading these are: 1. nsIDownloadManager. 2. nsIDownloadProgressListener. 3. nsIHelperAppLauncherDialog etc. As i found that nsIDownloadManager is to manager multiple downloads and nsIDownloadProgressListener is to show progress of each download. but i can't get purpose of nsIHelperAppLauncherDialog. if nsIHelperAppLauncherDialog is the interface where i can got information about linked object then how can i implement it. Kuldeep Birthlia Vineeth Aravindakshan wrote: > > You can use NsIWebBrowserPersist for downloading a file. > See the following link ..... > https://developer.mozilla.org/en/NsIWebBrowserPersist > > Regards > Vineeth Aravindakshan > _______________________________________________ > dev-embedding mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-embedding > > -- View this message in context: http://www.nabble.com/Which-interfaces-i-need-to-implement-to-implement-downloading-tp21602465p21703841.html Sent from the Mozilla - Embedding mailing list archive at Nabble.com. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
