Drag and Drop Directories
Allows dragging and dropping entire folders using HTML5 Drag and Drop. Extends the DataTransferItem with a method to get a FileEntry/DirectoryEntry.
We’re working on it! See the following link for a spec in progress:
Any update status on this?
Aaron Kurtzer commented
It's frustrating: When I want to upload a folder of files to my OneDrive account, I have to install and use a competing browser. :(
Korijn Van Golen commented
Any news? Chrome and Firefox have had support for a while now...
Firefox also uses this... and sites like google drive, sway.com, and a few others allow it. weird how especially on sway.com edge does not support this
Chris Adams commented
The full file system API is pretty complicated but the recurring common need we've encountered is just the ability to get filenames with paths. The FileEntry/DirectoryEntry features implemented in Chrome would be great but even something as simple as, say, `event.dataTransfer.recursiveFiles` giving a FileList containing all of the dropped files with .name including the path would be sufficient for most users and a lot less complicated.
Sean Earp commented
This is particularly important as OneDrive now allows uploading of folders, but only in Chrome. https://blog.onedrive.com/onedrive-now-supports-10-gb-files/
Imagine the use of this on cloud services... Being able to upload a whole folder at once just by dragging it in rather than having to zip them and then upload