This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Unable to download multiple file using mozilla

more options

I have code in javascript where it will download multiple files one by one. The code works in IE and chrome browsers, but in Mozilla it will download the first file and the second file will not be downloaded. I tried using Multiple File Downloader add on, but still the issue is not resolved.

Can you let me how this issue can be resolved.

I have code in javascript where it will download multiple files one by one. The code works in IE and chrome browsers, but in Mozilla it will download the first file and the second file will not be downloaded. I tried using Multiple File Downloader add on, but still the issue is not resolved. Can you let me how this issue can be resolved.

All Replies (10)

more options
more options

https://addons.mozilla.org/en-US/firefox/addon/downthemall link doesn't work and the links in http://www.downthemall.net/ to download the add-on doesn't work.

more options

It is possible that Firefox tries to use the cache and isn't requesting the files from the server. Did you check for messages in the Web Console or Browser Console?

You can also check the Network Monitor.

more options

sunilreddy.patil said

https://addons.mozilla.org/en-US/firefox/addon/downthemall link doesn't work and the links in http://www.downthemall.net/ to download the add-on doesn't work.

That is a legacy extension that doesn't run in Firefox 57 or later.

more options

cor-el said

It is possible that Firefox tries to use the cache and isn't requesting the files from the server. Did you check for messages in the Web Console or Browser Console? You can also check the Network Monitor.

Yes Firefox is not requesting the files from server, so how can i solve the issue?

more options

So what is the site your trying to get the files from?

more options

Its our own site/application where we create one file and download it, once it is done we will create one more file and download it. This functionality is working in both IE and chrome. In Firefox one file is created and downloaded, later another file is created but it is not downloaded. Can you please let us know if we need to add some tag in our JavaScript code to solve this issue, so that multiple call will be done to download?

more options

Is the problem that Firefox does not request the second download?

If there is not a user event such as a click that triggers the second download, could you test with the popup blocker disabled to see whether that makes any difference.

more options

Yes Firefox does not request the second download. There are no popup blockers, if so the first download wouldn't have happened.

more options

sunilreddy.patil said

Yes Firefox does not request the second download. There are no popup blockers, if so the first download wouldn't have happened.

Are you sure you disabled Firefox's built-in popup blocker? Firefox allows popups after certain events listed in the dom.popup_allowed_events preference (you can view the list in about:config), so if the user triggers the first download with a click but Firefox doesn't think the second download was triggered by the user, that second one could be blocked.

I don't know how you are requesting the downloads, so this could be irrelevant, but please do test that so we can be certain it is not a factor.