bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] How to set proxy host?


From: Ángel González
Subject: Re: [Bug-wget] How to set proxy host?
Date: Fri, 15 Jun 2012 23:05:48 +0200
User-agent: Thunderbird

On 15/06/12 17:12, Priyadarsh Kankipati wrote:
> Hi
> I am trying to use wget to download files using windows command line. I am
> behind a proxy server. I see the following options
>
> -Y,  --proxy=on/off           turn proxy on or off.
>      --proxy-user=USER     set USER as proxy username.
>      --proxy-passwd=PASS   set PASS as proxy password.
>
> However, there is no option to set the proxy server. Can you please suggest
> any work around?
>
> Thanks in advance
> Priyadarsh
You do so through the environment.

set http_proxy=http://myproxy.com:port/
wget www.example.org

(you can also configure Windows to set http_proxy variable, so you don't
need to do set http_proxy on each console window)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]