Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2018-05-20 19:58 GMT
Find Nodes?
    Voting Booth?