1 files changed, 4 insertions, 0 deletions
|
|
| @@ -6,3 +6,7 @@ cargo uninstall fileserver |
| 6 | curl upload: |
6 | curl upload: |
| 7 | curl -k -u :mypass -F file=@myfile.pdf https://localhost:8000/ |
7 | curl -k -u :mypass -F file=@myfile.pdf https://localhost:8000/ |
| 8 | curl -k -u :mypass -O https://localhost:8000/myfile.pdf |
8 | curl -k -u :mypass -O https://localhost:8000/myfile.pdf |
| |
9 | |
| |
10 | wget download: |
| |
11 | wget --no-check-certificate https://localhost:8000/myfile.pdf |
| |
12 | wget --no-check-certificate --user= --password=mypass https://localhost:8000/myfile.pdf |
|