There is not Downloads API or something similar to what you have requested through regular extension APIs, although, you can do it with an NPAPI plugin (native, C++ code) that you can put inside the extension.
http://code.google.com/chrome/extensions/npapi.html ☆PhistucK On Thu, Dec 10, 2009 at 19:59, Lasantha Bandara <lasanthasridin...@gmail.com > wrote: > Dear friends; > > I found that there is no method in the Google Chrome API to download a > file using its URL. I saw that there was a function in Mozilla Firefox > that takes a url and a path as inputs and downloads that file into > given path. It is very useful when we make downloading extension. Yet > there is no any image downloading extension for Google Chrome. Reason > could be that Chrome helps hardly to Downloading cases. > > I'm developing an image downloading extension for Google Chrome. If > there is a function supported in API for this purpose it is very > useful. I kindly request the Google development team to include a > method like in Firefox to download files with its url. It could be > very useful for encouraging the Google extension developers. > > Best regards. > > -- > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To post to this group, send email to chromium-extensi...@googlegroups.com. > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.