Net::FTP mdtm problems
From: Dave Saville (dave_at_no-spam-deezee.org)
Date: 12/14/04
- Next message: Brian McCauley: "Re: Current Directory when test.pl runs ?"
- Previous message: David: "Re: how to read email automatically without POP3 and IMAP servers in perl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Dec 2004 22:00:53 GMT
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 "$_ $mdtm\n";
}
What am I doing wrong?
TIA
-- Regards Dave Saville NB Remove no-spam- for good email address
- Next message: Brian McCauley: "Re: Current Directory when test.pl runs ?"
- Previous message: David: "Re: how to read email automatically without POP3 and IMAP servers in perl?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|