This is on a WinME machine, perl 5.6.1 with Net::FTP installed using the CPAN module. I'm really curious, because this is (roughly) the example given in the Net::FTP tutorial elsewhere (minus host-specific info and minus a few method calls on the $ftp object).my $host = 'ftp.ftphost.com'; my $u = 'username'; my $p = 'password'; my $ftp; unless ($ftp = Net::FTP->new($host)) { die "No FTP for you!\n\n"; } $ftp->login($u, $p); $ftp->binary; print $ftp->dir("\\");
In reply to Net::FTP Woes by chaoticset
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |