Subject: | ftp_proxy seems to be ignored |
I have the ftp_proxy configuration variable set to an HTTP URL. CPAN.pm still tries to fetch the files from an FTP address with Net::FTP, but Net::FTP does not support HTTP proxies, so it sits there doing nothing (due to local firewall restrictions), before finally giving me this message:
Proxy authentication needed!
And then I just press return at the two prompts, after which it precedes to use curl:
Trying with
/usr/bin/curl -L -f -s -S --netrc-optional -U ":" -x "http://1.2.3.4:5678"
to get
ftp://mirror.xmission.com/CPAN/authors/01mailrc.txt.gz
which works.
But it goes through this for every single file to be fetched, making it take a very long time to get anything done! ftp_proxy with an http:// prefix should override any use of Net::FTP.