[GH-ISSUE #463] Download .zip even if directory is empty #254

Closed
opened 2026-04-08 16:51:31 +03:00 by zhus · 1 comment
Owner

Originally created by @SourLemonJuice on GitHub (Oct 15, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/463

Problem

The zip file can be downloaded even if the current directory is empty.
This should be a minor issue

Configuration

# compose.yaml
command: /data -A -a admin:admin@/:ro -a @/:ro

Environment Information

  • Dufs version: v0.42.0
  • Browser/Webdav info: Firefox and Edge
  • OS info: Docker
  • Proxy server (if any): Nginx
Originally created by @SourLemonJuice on GitHub (Oct 15, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/463 ## Problem The zip file can be downloaded even if the current directory is empty. This should be a minor issue ## Configuration ``` # compose.yaml command: /data -A -a admin:admin@/:ro -a @/:ro ``` ## Environment Information - Dufs version: v0.42.0 - Browser/Webdav info: Firefox and Edge - OS info: Docker - Proxy server (if any): Nginx
zhus closed this issue 2026-04-08 16:51:31 +03:00
Author
Owner

@sigoden commented on GitHub (Oct 16, 2024):

We don't think there's anything wrong with that.

The zip command can also create a zip file from an empty directory.

mkdir test-dir
zip -r test-dir.zip test-dir
<!-- gh-comment-id:2415308260 --> @sigoden commented on GitHub (Oct 16, 2024): We don't think there's anything wrong with that. The zip command can also create a zip file from an empty directory. ``` mkdir test-dir zip -r test-dir.zip test-dir ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#254