|
Posted by Dave Saville on December 14, 2004, 11:00 pm
Please log in for more thread options
Not sure if this is the correct group. Please tell me if I should post
elsewhere.
I can't get ftp->mdtm to work I have tried two different platforms and
it fails on both.
On solaris 2.8 with perl 5.8.0
use strict;
use warnings;
use Net::FTP;
my $ftp = Net::FTP->new("server", Debug => 0);
$ftp->login("me",'password') or die "login $!n";
my @files = $ftp->ls() or die "ls $!n";
foreach (@files)
{
my $mdtm = $ftp->mdtm($_) or die "mdtm $!n";
print "$_ $mdtmn";
}
What am I doing wrong?
TIA
--
Regards
Dave Saville
NB Remove no-spam- for good email address
|