Caleb9 / downloader

Dockerized file downloader
GNU General Public License v3.0
2 stars 0 forks source link

Add a way to customize download folder from UI #1

Closed mohammadrafigh closed 1 year ago

mohammadrafigh commented 1 year ago

It would be great if we could also choose or create a subfolder from the UI to download file into it. For example I want to download a.mp4 in a specific subfolder folder which could be different for 'b.mp4'. I understand that might make problems if you want to allow downloading to all filesystem directories but it would be safe to allow users modify nested directories from the specified download location.

Caleb9 commented 1 year ago

Hi @mohammadrafigh, thanks for your suggestion. Making a UI for something like this would probably take some effort. How about, for starers, you could type a relative path into the "Save as" box? E.g. folder1/folder2/a.mp4 would create the folders if they didn't exist already. That would be an easy thing to implement I think.

mohammadrafigh commented 1 year ago

Yeah I was actually looking for something like that. It would be great.

On Tue, Jun 6, 2023, 11:25 PM Piotr Karasiński @.***> wrote:

Hi @mohammadrafigh https://github.com/mohammadrafigh, thanks for your suggestion. Making a UI for something like this would probably take some effort. How about, for starers, you could type a relative path into the "Save as" box? E.g. folder1/folder2/a.mp4 would create the folders if they didn't exist already. That would be an easy thing to implement I think.

— Reply to this email directly, view it on GitHub https://github.com/Caleb9/downloader/issues/1#issuecomment-1579360336, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTM4ZES6COU6FXJ5ZBONZTXJ6DMFANCNFSM6AAAAAAY4WRN7Q . You are receiving this because you were mentioned.Message ID: @.***>

Caleb9 commented 1 year ago

Let me see what I can do in the coming days :)

mohammadrafigh commented 1 year ago

Great. Thank you

On Tue, Jun 6, 2023, 11:35 PM Piotr Karasiński @.***> wrote:

Let me see what I can do in the coming days :)

— Reply to this email directly, view it on GitHub https://github.com/Caleb9/downloader/issues/1#issuecomment-1579372358, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTM4ZGWTJZF4UJICOW3EC3XJ6EOZANCNFSM6AAAAAAY4WRN7Q . You are receiving this because you were mentioned.Message ID: @.***>

Caleb9 commented 1 year ago

@mohammadrafigh try the latest image. Please let me know if you find any problems. Also, you're welcome to give the project a star if you like it ;). Cheers.

mohammadrafigh commented 1 year ago

Thank you. starred! I could help more if I knew C# :smile: I used to develop using C# 10 years ago. But I might be able to help in some parts of frontend. Soon I will add a new feature request to add a minimal authentication to prevent everyone upload to server.

Caleb9 commented 1 year ago

Yeah I could really use some help in the front-end - look how ugly it looks ;D. My React and CSS skills are pretty basic. If you fork it then I would welcome PRs back :)

mohammadrafigh commented 1 year ago

I works like a charm. Thank you