User Tools

Site Tools


howtos:wget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:wget [17/07/2007 23:38] – created domingohowtos:wget [02/12/2018 21:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Add the following lines to your environment: 
 +
 +  export http_proxy="http://192.168.1.1:3128"
 +  export ftp_proxy="http://192.168.1.1:3128"
 +
 +Now, start wget with some enhanced options: 
 +
 +  wget --proxy-user "Domain\JohnUser" --proxy-passwd "SooooSecret" http://download.ubuntu.com/ubuntu.iso
 +
 +You can create an alias to save that configuration, although it may be a security risk to save a passwd inside it: 
 +
 +   alias wget 'wget --proxy-user "Domain\JohnUser" --proxy-passwd="SooooSecret"'
 +
 +Altenatively, you may use the username/password in the http_proxy/ftp_proxy variables: 
 +
 +   export http_proxy="http://Domain\\JohnUser:SooooSecret@192.168.1.1:3128"
 +   export ftp_proxy="http://Domain\\JohnUser:SooooSecret@192.168.1.1:3128"
  
howtos/wget.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1