good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etcby cfreak (Chaplain) |
on Sep 28, 2004 at 13:24 UTC ( [id://394566]=note: print w/replies, xml ) | Need Help?? |
You can probably solve your problem by using passive FTP. Before you run the CPAN shell just put: export FTP_PASSIVE=1LWP and Net::FTP should then be able to work around your firewall. You can stick that environment variable in your bashrc as well or if you're using CPAN in a script you should be able to set $ENV{FTP_PASSIVE} = 1 to do the same thing. HTH update fixed a typo update2 Maybe I should start reading the posts first, I've heard its great. Anyway as dmorgo kindly pointed out, my solution won't do authentication for the proxy, he has the correct answer below.
In Section
Seekers of Perl Wisdom
|
|