HTML5多文件下载器:通过ZipOutputStream寻找比单个Zip更好的选项 [英] HTML5 multiple file downloader : looking for better option than single Zip via ZipOutputStream

查看:200
本文介绍了HTML5多文件下载器:通过ZipOutputStream寻找比单个Zip更好的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要上传和下载多个文件。 jquery.filedrop.js似乎处理了HTML5多文件上传,但是我没有看到任何多次下载。我可以使用ZipOutputStream将文件粘贴到Zip中,但是这并不像简单拖放到解压文件系统那样好的UX。我看到这个帖子 Chrome中使用HTML5 Drag&掉落,但似乎工作中拖着一个,我需要平均提取50个文件和50个文件,所以一次一个不能满足我的需要。拖放是一个很好的但不是必需的功能。

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.

是否有多种文件下载的HTML5插件?

Is there any HTML5 plugin for multiple file downloading?

谢谢。

推荐答案

您。
如果您喜欢纯JS,请参阅代码。这是非常简单的基于IFrame的解决方案。

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

这篇关于HTML5多文件下载器:通过ZipOutputStream寻找比单个Zip更好的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆