简体   繁体   中英

Folder upload for browers other than chrome and opera

I want to support folder upload option.

input type="file" name="files[]" multiple directory webkitdirectory mozdirectory

This works in chrome and opera and not elsewhere. I know its not supported by FF. But is there a way to do so. I came across the zipping option here( Select directory for HTML5 multiple file input in Firefox? ) as well but I dont want it that way. Can someone suggest a way to start off with this, so that I can support/simulate folder upload in FF/IE.

Folder upload is now supported by Firefox (as of version 50, released on 15 November 2016). The developer notes are here:

https://developer.mozilla.org/en-US/Firefox/Releases/50

Folder upload it already supported by Microsoft Edge browser (the replacement for Internet Explorer). It is documented, with PI calls, here:

https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/dev-guide/html5/folder-upload/

As Chrome and Opera have already supported folder upload for a long time, the last remaining major browser that does not support folder upload is Safari.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM