[GH-ISSUE #341] support upload a zip file and unzip it? #186

Closed
opened 2026-04-08 16:50:57 +03:00 by zhus · 2 comments
Owner

Originally created by @yafacex on GitHub (Jan 10, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/341

Indeed, I do need to upload a folder. However, it would be helpful if you could support uploading a zip file and extracting its contents to a specific folder.

Originally created by @yafacex on GitHub (Jan 10, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/341 Indeed, I do need to upload a folder. However, it would be helpful if you could support uploading a zip file and extracting its contents to a specific folder.
zhus closed this issue 2026-04-08 16:50:57 +03:00
Author
Owner

@archandanime commented on GitHub (Jan 10, 2024):

You can upload a folder by drag-dropping the directory to the web page, I tested and it worked.

<!-- gh-comment-id:1884241632 --> @archandanime commented on GitHub (Jan 10, 2024): You can upload a folder by drag-dropping the directory to the web page, I tested and it worked.
Author
Owner

@sigoden commented on GitHub (Jan 10, 2024):

dufs cannot support unzipping an uploaded zip file, because it is error-prone.

  1. There are various zip algorithms, which ones should be supported?
  2. How to deal with file overwriting?
  3. How to deal with hyperlinks in compressed files?
  4. How to deal with path encoding?
    ...
<!-- gh-comment-id:1884286279 --> @sigoden commented on GitHub (Jan 10, 2024): dufs cannot support unzipping an uploaded zip file, because it is error-prone. 1. There are various zip algorithms, which ones should be supported? 2. How to deal with file overwriting? 3. How to deal with hyperlinks in compressed files? 4. How to deal with path encoding? ...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#186