Hi! Are you asking about support for selecting directories in the OS's file selection screen?

I'm not sure if that's possible in browsers currently, but we can investigate it more.
Hi! Discussed in #447:
I checked this again, and from my tests it seems there鈥檚 no way to allow adding directories and/or files, it鈥檚 one or the other. So we鈥檇 have to provide two inputs, one for folders, one for files.
I think it鈥檚 an overkill, so will close this for now, unless I鈥檓 overlooking something, please let me know.
@ameft
Your right @arturi, you can't upload directories and/or files, it鈥檚 one or the other. Indeed in our app we provide one main input for file uploads and a secondary, less prominent, input for folder uploads.
To me, and also to our users, the ability to easily recreate entire local directory trees in our cloud environment has shown to be a highly appreciated feature. But I understand that the point of view are different.
Maybe a new source in the top bar of Uppy Dashboard is the right location for a specific folder upload button?
I still wish there was a way to do directory upload through OS file selection modal, in uppy dashboard.
It might require two separate buttons/links, but it could be a dashboard option to turn it on or off. A previous solution using the popular "jquery file upload" tool supported this in our app, and our users liked it.
@goto-bus-stop this certainly is possible, browsers support this through an attribute on the file input:
<input id="example" type="file" webkitdirectory />
You can see on caniuse.com/#search=webkitDirectory that even Safari has support for this feature since March 2018.
This functionality will trigger an additional browser popup asking wheter you _really_ want to upload this directory since it potentially give the website read rights to your whole disk if you accidently selected the root folder or a disk. However if the user still accepts this it will present it self through a FileList on the input element:
var fileList = document.getElementById("example").files
Also see this jsfiddle
I have Safari 12.0.1 (13606.2.104.1.2) on MacOS High Sierra and it doesn't support it.
The https://caniuse.com site is mistaking.
Adding to backlog and closing for now. Thanks for the suggestion!
Most helpful comment
Hi! Discussed in #447: