-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Description
hi team, so i was trying to upload my files to puter via the right-click > upload here
but i noticed that the file picker only support uploading files, but not entire directory
this is not a big deal, since i can still work around this by just dragging all the files + folders into puter deskop
^ for some reason dragging folder works, but not via standard html file picker
i did some research for this, and seems like it's possible with directory html attribute
<form method="post" enctype="multipart/form-data">
<input type="file" name="files[]" id="files" multiple="" directory="" webkitdirectory="" mozdirectory="">
<input class="button" type="submit" value="Upload" />
</form>source: https://stackoverflow.com/questions/4008406/upload-a-whole-directory-through-an-html-form
Metadata
Metadata
Assignees
Labels
No labels