timvisee / send

:mailbox_with_mail: Simple, private file sharing. Mirror of https://gitlab.com/timvisee/send
https://send.vis.ee
Mozilla Public License 2.0
4.8k stars 278 forks source link

[FEATURE REQUEST] Add folder picker option like WeTransfer #188

Open bludlineaudio opened 8 months ago

bludlineaudio commented 8 months ago

Hi team, great piece of software btw! 🫡🙌


I have a feature request please:

It's to do with uploading Whole Folders. As you can see in the screenshots, it is possible with Send if you drag-and-drop the folder into the web interface. But the problem with this is there are some people who just would not inherently know how to do this 😒 WeTransfer makes it very easy by having a separate button Or select a folder (in the 2nd screenshot) which lets the user 🥁 select_a_folder 😲. The folder-picker-popup then allows the user to double-click into folders, and when they've chosen the one they keep that one selected and then select Upload on the folder-picker-popup.

If I'm not mistaken, currently on Send it looks like the + button and the Select files to upload button function as the same thing, so perhaps one of them can be removed/changed to make space for the Select a folder button?


I think this might help: https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker

I also asked ChatGTP and it said this: To implement a folder picker functionality on your website, you would need to use the HTML element with the directory attribute. However, it's important to note that the directory picker feature is currently only supported in certain browsers like Chrome and Edge, and its behavior may vary across different operating systems.

Here's how you can create a folder picker input in HTML:

<input type="file" id="folderPicker" webkitdirectory directory multiple>

I'd appreciate it if you could give me a rough estimation of when it might be likely this feature will be added in if you choose to do so, or an explanation of why it won't be added, Please let me know if there is a more formal way to request features or if there is any other info you'd need from me.

Thanks in advance 🤗


Send - Drag-and-drop folder into Web UI

image


WeTransfer - Folder-picker-popup

image

bludlineaudio commented 8 months ago

meh, I tried to upload the Folder and it looks like this issue occurred: https://github.com/timvisee/send/issues/180

So I understand Uploading a whole Folder/Directory is not supported. Is this on the RoadMap?

timvisee commented 8 months ago

Is this on the RoadMap?

Though I really like the idea of supporting folders, I currently don't have the bandwidth to implement it. It's therefore not on the roadmap.

The project is open source though. If you feel confident enough, feel free to attempt implementing this yourself. :smile

YO-SC commented 7 months ago

Is this on the RoadMap?

Though I really like the idea of supporting folders, I currently don't have the bandwidth to implement it. It's therefore not on the roadmap.

The project is open source though. If you feel confident enough, feel free to attempt implementing this yourself. :smile

The fact that you host the service its unreal in itself. Thank you man. Very pog. 💪🏼