搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.

所有回复 (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.