<?xml version="1.0" encoding="windows-1252"?>
<node id="400484" title="Re: Forcing CPAN.pm to ignore LWP/Net::FTP and use wget/lynx etc" created="2004-10-19 07:56:11" updated="2005-08-15 14:34:28">
<type id="11">
note</type>
<author id="398856">
martinvi</author>
<data>
<field name="doctext">
&lt;p&gt;Maybe, I missed a point or two ...

&lt;p&gt;At my work environment, I've pretty much the same conditions -- i.e. restrictive firewall and an authenticating proxy, which allows only "browser ftp".

&lt;p&gt;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.

&lt;p&gt;Here a snippet from Config.pm:

&lt;code&gt;
$CPAN::Config = {

# more stuff here ...

'ftp_proxy' =&gt; q[http://user:passwd@server:port],
'http_proxy' =&gt; q[http://user:passwd@server:port],

# ... and here also

}
&lt;/code&gt;

&lt;p&gt;I hope, anyone -- beside myself -- can made some good use of it.
</field>
<field name="root_node">
394501</field>
<field name="parent_node">
394501</field>
</data>
</node>
