Home   >>   Wget   >>   How To Use Wget With Proxy
How To Use Wget With Proxy PDF Print E-mail
( 1 Vote )
How To - Wget
Written by Christian Foronda   
Sunday, 05 September 2010 00:01

Recommended: Insert directives to ~/.wgetrc:

# echo 'HTTP_PROXY=IPOFPROXYSERVER:PORT' >> ~/.wgetrc
# echo 'FTP_PROXY=IPOFPROXYSERVER:PORT' >> ~/.wgetrc

 

Alternative: Define shell variables:

# export http_proxy="http://ipofproxyserver:port"
# export ftp_proxy="http://ipofproxyserver:port"

 

Alternative: Specify via wget command:

# wget --proxy-user=YourUsername --proxy-password=YourPassword http://systmbx.com/file.tar.gz

 




blog comments powered by Disqus
Last Updated on Wednesday, 16 February 2011 14:45