Wget
is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies. It is fault-tolerance, has big overlap with curl, both heavily using.
wget -h
and man page are informative.
值得注意的是,不同Linux版本wget支持的选项可能不完整。
Continue download
1 | ## assume the url is disrupted and leave a incomplete file in current folder |
Authz
If you proxy, http_proxy for http connection, https_proxy for https connection. Wget basic authentication challenge
1 | ## http use http_proxy flag |