Skip to content

Commit e4a02a7

Browse files
author
Gaolin
committed
update
1 parent bd325d5 commit e4a02a7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

file_http

9.03 MB
Binary file not shown.

readme.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ cd go-fileHttp-mac-v1.3
2525
#### default config
2626
| Key | Value |Describe |
2727
| ---------- | :-----------: | :-----------: |
28-
| ROOT_DIR | $HOME | User home directory |
28+
| ROOT_DIR | $HOME | File Management Directory |
2929
| ERROR_LOG | error.log | error log |
3030
| ACCESS_LOG | access.log | access log |
3131
| LISTEN | 127.0.0.1:9191 | listen addres |
3232
| PUSH | true | enable file uploading |
3333
| SHOW_ALL | false | show hidden files |
34-
| POSH_BACKUP | false | ppload the backup file |
34+
| POSH_BACKUP | false | upload the backup file |
3535

3636

3737
### required parameter
@@ -51,6 +51,7 @@ curl -H "Content-Type:application/html" http://127.0.0.1:9090/
5151
##### Download file:
5252
```shell
5353
wget http://127.0.0.1:9090/test.log
54+
curl http://127.0.0.1:9090/test.log --output test.log
5455
```
5556

5657
##### Upload file:

0 commit comments

Comments
 (0)