use Net::FTP qw(); my $ftp = Net::FTP->new( 'ftp.kde.org', Timeout => 5, ) or die "Could not connect: $!"; warn "Connected\n"; $ftp->cwd("\/pub\/") or warn "Could not change dir: ".$ftp->message."\ +n"; $ftp->quit; __END__ $ perl 627154.pl Connected Could not change dir: Please login with USER and PASS.
In reply to Re: FTP'ing to an FTP location that doesn't require login.
by daxim
in thread FTP'ing to an FTP location that doesn't require login.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |