in reply to Net::FTP is NEVER successful

When I ftp to that site, there is no authors directory in the root directory, but there is a /pub/CPAN/authors directory.

Replies are listed 'Best First'.
Re^2: Net::FTP is NEVER successful
by dbae (Beadle) on Jul 28, 2005 at 21:14 UTC
    Thanks for your reply. The error message is from CPAN.pm, one of the files on my own system. I believe that this perl program is looking for the directory "authors" in my $HOME/.cpan. In fact, the correct pathname is $HOME/.cpan/sources/authors, so it should be trying to cwd to "sources/authors". But I could be wrong about what the code means. I guess I could check it out by making a symbolic link to get round this error. But I would prefer to configure cpan correctly so it doesn't happen. David
      $ftp->cwd(...) tries to change directories on the remote system, not on the local system. To change directories on the local system, you would just use chdir.

        Thanks a lot. I misunderstood what the code meant. So I think this is getting close to solving my problem.

        I wonder if I got the correct address when I set up the config file with

        cpan> o conf init

        My urllist contains the address ftp://ftp.perl.org/. Maybe it should be ftp://ftp.perl.org/pub/CPAN/??

        David