in reply to Re^2: Net::FTP is NEVER successful
in thread Net::FTP is NEVER successful

$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.

Replies are listed 'Best First'.
Re^4: Net::FTP is NEVER successful
by dbae (Beadle) on Jul 28, 2005 at 21:39 UTC

    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