Getting wget to work in a "corporate" environment

Alright, here's what I do to get wget from the Native Win32 ports GNU collection to work with as little fuss as possible.
set WGETRC=%HOMEDRIVE%%HOMEPATH%\.wgetrc
cat > %HOMEDIR%%HOMEPATH%\.wgetrc
http_proxy = http://PROXY:PORT/
ftp_proxy = http://PROXY:PORT/
use_proxy = on
proxy_user = USERNAME
proxy_passwd = PASSWORD
user_agent = SOMETHING GOES HERE
^Z^Z


Pay attention to proxy_passwd. wget is at version 1.8.2 and that configuration option was renamed in a later version.

Comments

Popular posts from this blog

FreeIPA cluster with containers

ADSL Router Model CT-5367 user and pass (VIVACOM)

Installing Gentoo with full disk encryption