[GH-ISSUE #90] create/delete folder #37

Closed
opened 2026-04-08 16:49:59 +03:00 by zhus · 6 comments
Owner

Originally created by @leolulu on GitHub (Jul 4, 2022).
Original GitHub issue: https://github.com/sigoden/dufs/issues/90

Hi sigoden, thanks for your development, this tool helps me a lot. Just love it.

Sometimes, when I upload new files and want to classify them from previous ones, I will create a folder and put them is there.
Since dufs does not support creating new folder on web UI, I have to go to the terminal and run mkdir command.
So if create/delete folder is supported on web UI, it will be very helpful.

Hope to hear your opinion.
Thanks in advance.

Originally created by @leolulu on GitHub (Jul 4, 2022). Original GitHub issue: https://github.com/sigoden/dufs/issues/90 Hi sigoden, thanks for your development, this tool helps me a lot. Just love it. Sometimes, when I upload new files and want to classify them from previous ones, I will create a folder and put them is there. Since dufs does not support creating new folder on web UI, I have to go to the terminal and run mkdir command. So if create/delete folder is supported on web UI, it will be very helpful. Hope to hear your opinion. Thanks in advance.
zhus closed this issue 2026-04-08 16:49:59 +03:00
Author
Owner

@sigoden commented on GitHub (Jul 4, 2022):

Dufs already support create/delete folders.

First you have to allow upload/delete operations with --allow-upload/--allow-delete or --allow-all/-A.

You can see delete icons in actions column, click them to delete folders/files.

Creating folders is not so obvious but dufs also supports. If you want create a folder named dir1, just goto http://localhost:5000/dir1 and upload some files.

<!-- gh-comment-id:1173417239 --> @sigoden commented on GitHub (Jul 4, 2022): Dufs already support create/delete folders. First you have to allow upload/delete operations with `--allow-upload`/`--allow-delete` or `--allow-all`/`-A`. You can see delete icons in actions column, click them to delete folders/files. Creating folders is not so obvious but dufs also supports. If you want create a folder named `dir1`, just goto `http://localhost:5000/dir1` and upload some files.
Author
Owner

@sigoden commented on GitHub (Jul 4, 2022):

drag & drop a folder also works.

<!-- gh-comment-id:1173420770 --> @sigoden commented on GitHub (Jul 4, 2022): drag & drop a folder also works.
Author
Owner

@leolulu commented on GitHub (Jul 5, 2022):

got it, thanks.

<!-- gh-comment-id:1174478237 --> @leolulu commented on GitHub (Jul 5, 2022): got it, thanks.
Author
Owner

@leolulu commented on GitHub (Jul 5, 2022):

@sigoden
Tested, here are some feedbacks:

  1. drag & drop an empty folder, nothing happend.
  2. put a new name in the url, gives error
    image

Anyway, drag&drop nonempty folder works.🤝

<!-- gh-comment-id:1174577696 --> @leolulu commented on GitHub (Jul 5, 2022): @sigoden Tested, here are some feedbacks: 1. drag & drop an empty folder, nothing happend. 2. put a new name in the url, gives error ![image](https://user-images.githubusercontent.com/35873316/177246427-1885c161-3451-4faf-95f6-e22a602728fe.png) Anyway, drag&drop nonempty folder works.🤝
Author
Owner

@sigoden commented on GitHub (Jul 5, 2022):

  1. drag & drop only works on files, Nothing happend on empty folder is expected.

  2. url need / at end to indicate a folder other than a file, check <origin>/dir2/

<!-- gh-comment-id:1174583937 --> @sigoden commented on GitHub (Jul 5, 2022): 1. drag & drop only works on files, Nothing happend on empty folder is expected. 2. url need `/` at end to indicate a folder other than a file, check `<origin>/dir2/`
Author
Owner

@leolulu commented on GitHub (Jul 5, 2022):

  1. url need / at end to indicate a folder other than a file, check <origin>/dir2/

cool, it works.

<!-- gh-comment-id:1174620149 --> @leolulu commented on GitHub (Jul 5, 2022): > 2. url need `/` at end to indicate a folder other than a file, check `<origin>/dir2/` cool, it works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#37