|Welcome to the Monastery|
Re: Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etcby dmorgo (Pilgrim)
|on Sep 28, 2004 at 19:55 UTC||Need Help??|
You are going to get the benefit of my having hacked through this one a few weeks ago! I wish I, then, had been you, now :-). Finally I am going to get some XP points! Woo-hoo! Oops, I mean, Ommmmmmmmm <glances nervously at head monk>.
Here's what you need for LWP to work with an authenticated proxy (assumes bash):
(Change proxyuserid, proxypass, 9090, and the addresses as appropriate.)
This also assumes there is a call like $ua->env_proxy; in LWP by default (making LWP pay attention to those environment variables by default), which I believe there is.
Let us know if you figure out Net::FTP. I ended up using ncftpget and wget, and hand editing the CPAN file to make it try those first, as someone else described.
Here are the settings for ncftpget:
And this is what I have for wget: