NotePublic/Software/Applications/Wget/Wget_基本使用.md

549 B

Wget 基本使用

# 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 <...>