mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
feat: unzip zip file when unload
This commit is contained in:
@@ -15,6 +15,7 @@ Duf is a simple file server.
|
||||
- Upload files
|
||||
- Delete files
|
||||
- Basic authentication
|
||||
- Unzip zip file when upload
|
||||
- Easy to use with curl
|
||||
|
||||
## Install
|
||||
@@ -71,6 +72,12 @@ Upload a file
|
||||
curl --upload-file some-file http://127.0.0.1:5000/some-file
|
||||
```
|
||||
|
||||
Unzip zip file when unload
|
||||
|
||||
```
|
||||
curl --upload-file some-folder.zip http://127.0.0.1:5000/some-folder.zip?unzip
|
||||
```
|
||||
|
||||
Delete a file/folder
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user