feat: distinct upload and delete operation

This commit is contained in:
sigoden
2022-05-31 08:38:30 +08:00
parent be3ae2fe00
commit 3032052923
4 changed files with 83 additions and 37 deletions

View File

@@ -44,14 +44,25 @@ duf
duf folder_name
```
Only serve static files, disable editing operations such as update or delete
Allow upload operations
```
duf --readonly
duf --allow-upload
```
Finally, run this command to see a list of all available option
Allow all operations
### Curl
```
duf --allow-all
```
Use http authentication
```
duf --auth user:pass
```
### Api
Download a file
```