Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bludlineaudio opened this issue Feb 25, 2024 · 3 comments
Open

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

bludlineaudio opened this issue Feb 25, 2024 · 3 comments

Comments

@bludlineaudio
Copy link

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
Copy link
Author

meh, I tried to upload the Folder and it looks like this issue occurred:
#180

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

@bludlineaudio bludlineaudio changed the title Add folder picker option like WeTransfer [FEATURE REQUEST] Add folder picker option like WeTransfer Feb 25, 2024
@timvisee
Copy link
Owner

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
Copy link

YO-SC commented Apr 3, 2024

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. 💪🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants