Discussion:
Wget proxy issue on windows
Steven Smith
2012-05-03 06:17:07 UTC
Permalink
Hi,
I've been trying to use wget with the internet at my school, where
everything must go through a proxy. I can wait until I get home to get this
file, but I don't see any reason why this error would be occuring.

C:\Users\Stevn>set http_proxy=http://proxy.cite.wa.edu.au:8080 && wget
http://android-x86.googlecode.com/files/android-x86-4.0-RC1-eeepc.iso--proxy=on
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Users\stevn\Downloads\GetGnuWin32\gnuwin32/etc/wgetrc
Error parsing proxy URL http://proxy.cite.wa.edu.au:8080 : Bad port number.
C:\Users\Stevn>

Any thoughts? Thanks.

Steven Smith
***@gmail.com
David H. Lipman
2012-05-03 11:16:28 UTC
Permalink
Post by Steven Smith
Hi,
I've been trying to use wget with the internet at my school, where
everything must go through a proxy. I can wait until I get home to get this
file, but I don't see any reason why this error would be occuring.
C:\Users\Stevn>set http_proxy=http://proxy.cite.wa.edu.au:8080 && wget
http://android-x86.googlecode.com/files/android-x86-4.0-RC1-eeepc.iso--proxy=on
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Users\stevn\Downloads\GetGnuWin32\gnuwin32/etc/wgetrc
Error parsing proxy URL http://proxy.cite.wa.edu.au:8080 : Bad port number.
C:\Users\Stevn>
Any thoughts? Thanks.
Create a WEGETRC.TXT file and store it in a place like "C:\" and in the file WEGETRC.TXT
have the entries
http_proxy=http://proxy.cite.wa.edu.au:8080
use_proxy = on

Do not use the SET command. That is only good for the present shell.
Righ-Click "My Computer" --> properties --> advanced --> environment variables --> system
variables --> new

Variable name: WGETRC
Variable value: C:\wgetrc.txt

now just invoke
wget http://android-x86.googlecode.com/files/android-x86-4.0-RC1-eeepc.iso

or invoke a full command line

wget --execute=http_proxy=http://proxy.cite.wa.edu.au:8080
http://android-x86.googlecode.com/files/android-x86-4.0-RC1-eeepc.iso
--
Dave
Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk
http://www.pctipp.ch/downloads/dl/35905.asp
Ángel González
2012-05-07 15:17:22 UTC
Permalink
Post by Steven Smith
Hi,
I've been trying to use wget with the internet at my school, where
everything must go through a proxy. I can wait until I get home to get this
file, but I don't see any reason why this error would be occuring.
C:\Users\Stevn>set http_proxy=http://proxy.cite.wa.edu.au:8080 && wget
http://android-x86.googlecode.com/files/android-x86-4.0-RC1-eeepc.iso--proxy=on
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Users\stevn\Downloads\GetGnuWin32\gnuwin32/etc/wgetrc
Error parsing proxy URL http://proxy.cite.wa.edu.au:8080 : Bad port number.
C:\Users\Stevn>
Any thoughts? Thanks.
Steven Smith
Remove the protocol, ie.

set http_proxy=proxy.cite.wa.edu.au:8080


It's probably splitting at the first colon

Loading...