mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
feat: download folder as zip file
This commit is contained in:
@@ -5,11 +5,12 @@
|
||||
|
||||
Duf is a simple file server.
|
||||
|
||||

|
||||

|
||||
|
||||
## Features
|
||||
|
||||
- Serve static files
|
||||
- Download folder as zip file
|
||||
- Upload files
|
||||
- Delete files
|
||||
- Basic authentication
|
||||
@@ -51,9 +52,13 @@ Download a file
|
||||
```
|
||||
curl http://127.0.0.1:5000/some-file
|
||||
|
||||
curl -o some-file.zip http://127.0.0.1:5000/some-file.zip
|
||||
curl -o some-file2 http://127.0.0.1:5000/some-file
|
||||
```
|
||||
|
||||
Download a folder as zip file
|
||||
|
||||
curl -o some-folder.zip http://127.0.0.1:5000/some-folder?zip
|
||||
|
||||
Upload a file
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user