How do I download several files at the same time?

Alex Chaffee

It's tough to get HTTP to return more than one file at a time. You could

  1. just return a page listing all the files, and ask the user to click each link
  2. package all the files into a Zip archive using the java.util.zip package classes, and download that file
  3. write a JavaScript function that downloads each of the files in turn
Not sure how well any of these will work. I'm pretty sure there's no easy way to just download several files in a row, waiting for one to finish before serving the next.

[Keywords: file download multiple files several files many files at once]