1. wget 添加 basic auth 信息
wget --http-user=Usernane --http-passwd=Password 'http://www.example.com/file.tar'
2. curl 添加 basic auth 信息
curl --user Username:Password 'http://www.example.com/file.tar'
3. mwget 添加 basic auth
mwget -n 2 'http://username:password@www.example/file.tar'
认证信息直接写在了 url 中