增加 Wget 基本使用.

Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
chen.yang 2021-08-25 20:23:15 +08:00
parent ac28aa5b3e
commit c7a901fabe
1 changed files with 14 additions and 0 deletions

View File

@ -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 <...>
```