A malicious website may download more than one file when you click a download link and the other files may be malicious. This feature makes it so that the other downloads only proceed if you confirm them.
Chrome basically asks that you confirm you were the one that initiated all the downloads. Open Chrome and click the more options button at the top right. From the menu, select Settings. On the Settings page, scroll down and click Advanced. Select the Automatic Downloads option. Windows will allow you to download multiple files, with a separate progress window for each.
The performance of your computer might vary with the speed of your Internet connection, or the servers you're downloading from. Refer to Can I download more than one file at a time? Was this reply helpful? Yes No. Sorry this didn't help.
Thanks for your feedback. Appreciate the response. I looked at that page already. All it tells me is that it can be done, not how to do it. Lets say the user selects three files from a file list to download and they're located at: mysite.
Grammin Grammin 11k 22 22 gold badges 74 74 silver badges bronze badges. What is the best way to trigger the downloads? I don't typically download files though, more string generated by JS, so take my advice with a grain of salt — dandavis. Does this answer your question? Download multiple files with a single action — Flimm. Add a comment. Active Oldest Votes. Community Bot 1 1 1 silver badge. Tanuj Tanuj 1 1 gold badge 5 5 silver badges 15 15 bronze badges.
So I don't have access to the preventDefault function is there anyway I can wait for a user to do an action on the first file before opening the second? What is happening is it goes straight to the third file and I can't download the first two. What kind of action are you talking about?
Because im not sure you can track that. My call is window. Then its best you create 2 pages: mysite. When each loads, you can start the file download for that page.
And require the user interaction. Once the interaction has been verified then load the next page. Dan Dan 1, 1 1 gold badge 24 24 silver badges 34 34 bronze badges. I've just been using this code Dan and I've had problem in chrome where it ignores fast clicking, so had to set a timeout.
IainMNorman interesting issue, a timeout seems a good enough solution, not sure how else it could be resolved — Dan. Just a FYI to others reading this: The download attribute won't work for cross-origin requests at least with the latest version of Chrome. I think it used to but was patched out — georaldc. This is solution that worked for me. Lukasz Dynowski Lukasz Dynowski 7, 4 4 gold badges 53 53 silver badges 83 83 bronze badges. I know that executing code on time intervals basis should be avoidable, but sometimes you gotta do what you gotta do.
I think 10 was the max number of connections configured in your browser. CodeWriter23 might be so. Can you provide any link s where one can set max number of connections in Chrome and Firefox?
0コメント