jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes download multiple files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "download multiple files." Watch "download multiple files." New topic

download multiple files.

arul narayan

Joined: Sep 26, 2000
Posts: 17
Hi all,
I have a list of files on my page associated with check boxes and with hidden URLs. Depending on the selection made by the user (by checking one or more check boxes) and by clicking a button, these files have to be downloaded from the server to the PC. I am able to do a download of only one file at a time.
Using javascript I am also able to concatenate the URLs of the files selected by the user. But I need to download all the files selected by the user, on a single click of the button.
Can someone suggest ways to download multiple files at a time.

Brian Glodde
Ranch Hand

Joined: Jun 27, 2001
Posts: 171
IMHO, you might make life simpler by zipping up the available variations of files to download or go to server-side scripting for that. I don't know of any way to reliably accomplish multiple file downloads with JavaScript.
I agree. Here's the link: http://aspose.com/file-tools
subject: download multiple files.
It's not a secret anymore!