bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] How to orce wget to send HTTP GET to a proxy for a FTP UR


From: Ivan Shmakov
Subject: Re: [Bug-wget] How to orce wget to send HTTP GET to a proxy for a FTP URL instead of using a FTP proxy
Date: Sun, 06 Nov 2016 17:30:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

>>>>> Yanko Hernández Álvarez <address@hidden> writes:

 > I need to access some FTP server using wget behind an squid proxy.

 > I have my environment vars defined this

 > $ printenv | grep -i proxy
 > http_proxy=http://127.0.0.1:3128
 > FTP_PROXY=ftp://127.0.0.1:3128
 > ftp_proxy=ftp://127.0.0.1:3128

        If you want to use the same proxy for FTP as the one you use
        for HTTP, the values should also be the same.  That is:

$ export FTP_PROXY="$http_proxy" ftp_proxy="$http_proxy" 

        Or:

 - FTP_PROXY=ftp://127.0.0.1:3128
 - ftp_proxy=ftp://127.0.0.1:3128
 + FTP_PROXY=http://127.0.0.1:3128
 + ftp_proxy=http://127.0.0.1:3128

[…]

-- 
FSF associate member #7257  58F8 0F47 53F5 2EB2 F6A5  8916 3013 B6A0 230E 334A



reply via email to

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