增加 Wget 基本使用.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
ac28aa5b3e
commit
c7a901fabe
|
@ -0,0 +1,14 @@
|
||||||
|
# Wget 基本使用
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Http/Https
|
||||||
|
wget --http-user=<ftp usr name> --http-passwd=<password> <http/https>://<address>:<port>/<server path>/<file> -O /<output path>/<output file>
|
||||||
|
# Ftp 下载
|
||||||
|
wget --ftp-user=<ftp usr name> --ftp-password=<password> ftp://<address>:<port>/<server path>/<file> -O /<output path>/<output file>
|
||||||
|
# Http/Https/Ftp
|
||||||
|
wget --user=<ftp usr name> --password=<password> <http/https/ftp>://<address>:<port>/<server path>/<file> -O /<output path>/<output file>
|
||||||
|
# 断点续传
|
||||||
|
wget -c <...>
|
||||||
|
# 重试次数
|
||||||
|
wget -t 5 <...>
|
||||||
|
```
|
Loading…
Reference in New Issue