[plug] Using wget
Anthony J. Breeds-Taurima
tony at cantech.net.au
Tue Oct 29 16:00:52 WST 2002
On Tue, 29 Oct 2002, David Buddrige wrote:
> Hi all,
>
> I'm trying to use wget to download a website. Here is the command line I am
> using:
>
> wget --proxy=on --proxy-user=myusername --proxy-passwd=myproxypassword
> --mirror http://website-of-interest
>
> My problem is this. It does not specify the proxy that I want to use, nor
> does it specify the port. I have been looking in the manual page but have
> not been able to determine how to specify this.
you can either do it via the environment:
export http_proxy="http://host:port/"
wget ....
on the command line:
wget -e 'http_proxy="http://host:port/" <rest of args>
Put it (http_proxy="http://host:port/) in either of /etc/wgetrc or ~/.wgetrc
HTH
Yours Tony
Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/
The Australian Linux Technical Conference!
More information about the plug
mailing list