file-system-access icon indicating copy to clipboard operation
file-system-access copied to clipboard

Uploading multiple folders

Open Andrey9300 opened this issue 3 years ago • 1 comments

I have't found information about uploading multiple folders, only multiple files. New api showDirectoryPicker() does not allow to do this. Uploading by drag and drop not quite the same. Can you tell me why new/old api can't upload multiple folders at once, there is a reason for this?

In Safari this works)

Andrey9300 avatar Oct 25 '21 06:10 Andrey9300

When originally designing the API I thought none of the operating system's directory picker dialogs supported selecting multiple directories. Later I learned that mac does indeed support this. As such, I guess it might make sense to add an option to the API to let the user select multiple files. On most platforms the user wouldn't actually be able to do so, but having the option in the API seems fine.

mkruisselbrink avatar Nov 02 '21 18:11 mkruisselbrink