Hi folks,
 
I'm trying to access a local CPAN mirror over FTP and am unable to
connect.
 
cpan> reload index
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
  Database was generated on Tue, 26 Feb 2008 05:31:07 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
  ftp://cpan.arrow.com/CPAN/authors/01mailrc.txt.gz
LWP failed with code[401] message[Login incorrect.]
Fetching with Net::FTP:
  ftp://cpan.arrow.com/CPAN/authors/01mailrc.txt.gz
Couldn't login on cpan.arrow.com at /usr/local/lib/perl5/5.8.0/CPAN.pm
line 2178.
Fetching with LWP:
  http://cpan.arrow.com/CPAN/authors/01mailrc.txt.gz
^CCaught SIGINT

 
The http call fails because we don't have port 80 open (I might be able
to fix that later), but ftp works fine from a command line. It looks to
me like it's trying to login as "anonymous" even though I have
configured "username" and "password" through the CPAN shell.
 
Does anyone know if there's a way around this other than hacking CPAN.pm
which I wouldn't be crazy about doing?
TIA
 
richf

Reply via email to