Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etc

by martinvi (Monk)
on Oct 19, 2004 at 11:56 UTC ( #400484=note: print w/ replies, xml ) Need Help??


in reply to Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etc

Maybe, I missed a point or two ...

At my work environment, I've pretty much the same conditions -- i.e. restrictive firewall and an authenticating proxy, which allows only "browser ftp".

After reading this very thread, I've tweaked Config.pm (That's down in $YourPerlModulesAreHere/5.8.x/CPAN). When I set ftp_proxy to the same value as http_proxy and put the credentials in the URL, a little happy LWP goes going.

Here a snippet from Config.pm:

$CPAN::Config = { # more stuff here ... 'ftp_proxy' => q[http://user:passwd@server:port], 'http_proxy' => q[http://user:passwd@server:port], # ... and here also }

I hope, anyone -- beside myself -- can made some good use of it.


Comment on Re: Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etc
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400484]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-06 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls