File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- ROOT : /tmp/
2
- ERROR_LOG : error .log
3
- ACCESS_LOG : access .log
4
- LISTEN : 127 .0.0.1:9191
1
+ ROOT : c:\\
2
+ ERROR_LOG : c:\vpn .log
3
+ ACCESS_LOG : c:\vpn .log
4
+ LISTEN : 0 .0.0.0:8083
5
5
PUSH : true
6
- POSH_BACKUP : false
7
6
SHOW_ALL : false
7
+
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ cd go-fileHttp-mac-v1.3
25
25
#### default config
26
26
| Key | Value | Describe |
27
27
| ---------- | :-----------: | :-----------: |
28
- | ROOT_DIR | $HOME | User home directory |
28
+ | ROOT_DIR | $HOME | File Management Directory |
29
29
| ERROR_LOG | error.log | error log |
30
30
| ACCESS_LOG | access.log | access log |
31
31
| LISTEN | 127.0.0.1:9191 | listen addres |
32
32
| PUSH | true | enable file uploading |
33
33
| SHOW_ALL | false | show hidden files |
34
- | POSH_BACKUP | false | ppload the backup file |
34
+ | POSH_BACKUP | false | upload the backup file |
35
35
36
36
37
37
### required parameter
@@ -51,6 +51,7 @@ curl -H "Content-Type:application/html" http://127.0.0.1:9090/
51
51
##### Download file:
52
52
``` shell
53
53
wget http://127.0.0.1:9090/test.log
54
+ curl http://127.0.0.1:9090/test.log --output test.log
54
55
```
55
56
56
57
##### Upload file:
You can’t perform that action at this time.
0 commit comments