问题
I have a requirement to upload and download multiple files. jquery.filedrop.js seems to handle the HTML5 multiple file uploading but I haven't seen anything for multiple downloading. I can stick the files into a Zip using ZipOutputStream, but this isn't as nice UX as simply drag-drop to the filesystem unzipped. I saw this post Multiple files downlod in Chrome using HTML5 Drag & Drop but it seemed to work dragging one at at time and I need to pull on average 50 files up and 50 files down, so one at a time doesn't work for my needs. Drag-drop is a nice but not necessary feature.
Is there any HTML5 plugin for multiple file downloading?
Thanks.
回答1:
jQuery plugin which will do the work for you. If you prefer pure JS, see the code. It's very simple IFrame based solution.
biesiad.github.com/multiDownload
来源:https://stackoverflow.com/questions/9612416/html5-multiple-file-downloader-looking-for-better-option-than-single-zip-via-z