I have never managed to fetch anything with Net::FTP (I am a 3 day old CPAN newbie). I'm trying to install via the cpan command ("sudo cpan" on MacOsX Panther). Here is the the first error message:
Here are the lines around 2260 in CPAN.pmCPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/authors/01mailrc.txt.gz Couldn't cwd authors at /usr/local/lib/perl5/5.8.7/CPAN.pm line 2260
So, what I did was to insert an extra line into CPAN.pm, namely:======code starts============= unless ( $ftp->cwd($dir) ){ warn "Couldn't cwd $dir"; return; } =======code ends==============
print `pwd`;
The output was '/Users/dbae/.cpan', so obviously 'authors' was not to be found. The correct directory to cwd to is sources/authors
So I've tracked down the error quite a bit, but I have no idea how to fix the error.
Any advice?Another question: where should this question have been posted? I searched for Net::FTP on cpanforum, and got about 7 different groups, not one of which was recognizable by me.
Thanks a lotEdited by Chady -- fixed formatting.
In reply to Net::FTP is NEVER successful by dbae
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |