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