Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Forcing 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 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 (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

$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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-10-28 10:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (381 votes). Check out past polls.