feat: unzip zip file when unload

This commit is contained in:
sigoden
2022-05-30 14:22:35 +08:00
parent d9547ad00b
commit 62696b45fd
5 changed files with 55 additions and 24 deletions

View File

@@ -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
```