[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Wget proxy issue on windows
From: |
David H. Lipman |
Subject: |
Re: [Bug-wget] Wget proxy issue on windows |
Date: |
Thu, 3 May 2012 07:16:28 -0400 |
From: "Steven Smith" <address@hidden>
> 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