How To Use wget With Username and Password fo…

2009-05-13 13:53:40来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折


Q.How do I use
[url=javascript:;]wget[/url]
ftp / http client tool to download files from
[url=javascript:;]password[/url]
protected web page?
A.wget command supports username and password combo for both FTP and HTTP file retrieval.
Pass following option to wget command:
--user=userName: Your FTP/HTTP username
--password=passWord: Your HTTP/FTP password
These parameters can be overridden using the--ftp-userand--ftp-passwordoptions for FTP connections and the--http-userand--http-passwordoptions for HTTP connections.
Download a file called foo.pdf from theos.in:
$ wget --user=vivek --password='myPassword' http://theos.in/protected/area/foo.pdf


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_661987.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:把用户名、密码复制到另外一台机器上

下一篇:NTOP中文手册