When using Ajax components it is possible to start multiple downloads. Create an AjaxButton and override onSubmit. Create an AbstractAjaxTimerBehavior and start downloading. Getting list of url with ajax call and then use jquery plugin to download multiple files parallel. Here is the way I do that. Like this:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
Download multiple files with a single action Ask Question. Asked 11 years, 9 months ago. Active 2 months ago. Viewed k times. I am not sure if this is possible using standard web technologies. Ankur Ankur 48k gold badges silver badges bronze badges. Add a comment. Active Oldest Votes. I am working with many file types, including pictures, and this worked best for me. However, link. It does not work in IE 11, it only downloads the. AngeloMoreira Yep, at least it works in Edge.
If you try downloading multiple files in IE on MS sites, for example , they spawn multiple pop-up windows, so i think best solution for IE is still from Dmitry Nogin above. Add the link. This allows you to name the files anything you wish. Also, I believe it needs to be the filename only not including the URL. I ended up sending two arrays: one with the full URL and one with just the filename. It does not work properly in Chrome v75, Windows The only file that is downloaded is Minecraft.
Show 8 more comments. HTTP does not support more than one file download at once. There are two solutions: Open x amount of windows to initiate the file downloads this would be done with JavaScript preferred solution create a script to zip the files.
Jacob Relkin Jacob Relkin k 29 29 gold badges silver badges bronze badges. Why is a zip file the preferred solution? It creates an extra step for the user unzipping. This page contains javascript which creates ZIP file. Look at the page it has a great example. A third way is to encapsulate the files into a SVG file. If the files are displayed in the browser, the SVG seems to be the best way.
HTTP itself supports multipart message format. But browsers don't portably parse multipart responses from the server side, but technically there's nothing difficult with doing this. This can be an excelent solution with javascript github. Show 1 more comment. Ben Gotow Dmitry Nogin Dmitry Nogin 3, 1 1 gold badge 17 17 silver badges 33 33 bronze badges. To me the reason seems that the page reloads after script is executed, seems to be the reason for files not getting downloaded. Any clue on what wrong I am doing?
I've got multiple issues with this solution. In IE since my parent window has changed the document. There's various post about fixing this, but all feel hacky. In Chrome, user gets prompt a warning message telling the web site tries to donwload multiple files but a least it works. This didn't work for me, because the file dialog "blocks" the other save dialogs to appear. What I did was something slightly hacky - the mousemove action registers only after the file dialog disappears, so I used that - but it's not tested.
I will add it as another answer. Does this work in IE10? I get: Object doesn't support property or method 'write' — Hoppe. Show 3 more comments. This is the only one in here that worked for me, since I have to support IE. Thank you. This answer is golden. Only one that works in all browsers without a warning message. Specially IE. Brilliant stuff — Mukul Goel. Not working in Chrome OSX, it asks me to allow multiple download but even if I do, only the first file is downloaded and I heard an amount of "beep" corresponding to the number of files to download left — Allan Raquin.
Button does nothing Google Chrome Version Button not working in stack overflow Run code snippet. Browser Crome speedplane — m b. Show 4 more comments. Easiest way would be to serve the multiple files bundled up into a ZIP file.
Thilo Thilo k 94 94 gold badges silver badges bronze badges. I realize your answer is from way back in , but a lot of users are browsing with smartphones nowadays, some of which can't open zips by default a buddy tells me his Samsung S4 Active can't open zips. Yirmiyahu Fischer Yirmiyahu Fischer 1 1 gold badge 6 6 silver badges 19 19 bronze badges. Each is looking for an array. The following script done this job gracefully.
URL window. Did you know you create PDF contracts, agreements, certificates, and more with Jotform? In the years since, the revolutionary file format has become an accepted standard for creating, sharing, viewing, or editing documents electronically. After giving software developers free access to PDF specs for years, Adobe relinquished control of the file format to the International Organization for Standardization, or ISO, in This free flow of information allowed third-party developers to create tools and features that elevated and enhanced the way people interact with PDFs.
Adobe has integrated document-splitting functions into its programs — namely Adobe Document Cloud — though you must have a paid subscription to access this service. If you want to complete just a few tasks and can do so in a short period of time, you can download the one-week free trial of Adobe DC and then cancel your subscription.
Of course, if you have other documents that you want to work on later, this is only a temporary solution. With so many online software tools out there, it can be hard to figure out where to start. Many of these software tools are versatile, so you can use them for other PDF needs as well.
PDF Candy. The handy software tool allows you to either split a PDF document into single pages or extract selected pages from a file. You may even choose files from your Google Drive or Dropbox accounts to upload and split.
We have highlighted this particular software tool several times for its ability to remove passwords from PDFs , convert image files to PDFs , and extract images from PDFs.
You can even merge the split pages into a single document; this is helpful if you want to keep only certain pages in a large document and want to remove the remaining pages. This free software tool is particularly unique because it allows you to split pages from any PDF document regardless of length or file size — other software tools, by comparison, will ask you to get a paid subscription if your document is too long or large.
This no-frills software tool allows you to split your PDF documents into smaller files without having to register for anything or buy a subscription. As an added benefit, an option on the PDF. Any data uploaded to PDF. WebMerge makes it easy to split a PDF file by gathering all of the information needed on a single web page.
This layout allows you to edit your splitting preferences without having to go back to a previous web page and potentially go through the whole process all over again. When the document splitting process is done, a folder containing all of your files will download automatically. Once this process is complete, you will receive an email asking you to confirm your subscription for the software program; however, a subscription will become active only if you click the link in the email.
TIP: Did you know that WebMerge has partnered with Jotform to automate the document creation process and increase your productivity? Check out how it all works. These extensions are displayed as toolbar icons in the top right-hand corner of web pages in Google Chrome. Split PDF. This Chrome extension provides a direct link to Zonepdf , where you can start uploading files to split without navigating through the entire website.
Zonepdf offers a similar Chrome extension for merging PDF files. PDF Splitter. Despite its simple layout and great functionality, the software tool does have a few limitations. For starters, PDF Splitter cannot work with password-protected files. Even though PDF Splitter allows you to choose a new file name for your newly split document or documents, there is a character maximum limit for file names.
0コメント