chaoticset has asked for the wisdom of the Perl Monks concerning the following question:
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("\\");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP Woes
by steves (Curate) on Feb 03, 2003 at 22:38 UTC | |
by chaoticset (Chaplain) on Feb 03, 2003 at 23:22 UTC | |
|
Re: Net::FTP Woes
by steves (Curate) on Feb 03, 2003 at 23:59 UTC | |
|
Re: Net::FTP Woes
by steves (Curate) on Feb 03, 2003 at 23:30 UTC | |
by chaoticset (Chaplain) on Feb 03, 2003 at 23:52 UTC | |
by demerphq (Chancellor) on Feb 04, 2003 at 00:03 UTC | |
by tachyon (Chancellor) on Feb 04, 2003 at 00:10 UTC | |
by chaoticset (Chaplain) on Feb 04, 2003 at 02:18 UTC |