mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
feat: distinct upload and delete operation
This commit is contained in:
19
README.md
19
README.md
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user