Unable to download multiple file using mozilla
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.
Všechny odpovědi (10)
Please refer these links for some help http://www.downthemall.net/ https://addons.mozilla.org/en-US/firefox/addon/downthemall
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.
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.
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.
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?
So what is the site your trying to get the files from?
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?
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.
Yes Firefox does not request the second download. There are no popup blockers, if so the first download wouldn't have happened.
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.