是否可以使用 Javascript 上传整个文件夹而不是多个文件? [英] Is it possible to upload a whole folder instead of multiple files using Javascript?

查看:20
本文介绍了是否可以使用 Javascript 上传整个文件夹而不是多个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用 Javascript 上传整个文件夹而不是多个文件?如果是这样,方法是什么.如果没有直接的方法,是否有任何解决方法可以实现相同的目标?我一直对这个话题很好奇.任何见解都会有所帮助.

Is it possible to upload a whole folder instead of multiple files using Javascript? If so, what is the approach. If there is no straighforward approach, is there any workaround to achieve the same? I have always been curious about this topic. Any insights will help.

推荐答案

不,你不能,除非它是压缩的,或者你可以使用 flash、silverlight 或 applet 同时上传多个文件.

No you can't, except if its zipped, or you can use flash, silverlight or applet for uploading more than one file in the same time.

>

检查这些问题:只需单击一次浏览即可上传多个文件没有jquery

在 ASP.NET 中选择多个文件上传


现在可以使用 html5 https://stackoverflow.com/search?q=多个+文件+上传+html5

这篇关于是否可以使用 Javascript 上传整个文件夹而不是多个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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