Click here to get back home

Net::FTP mdtm problems

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Net::FTP mdtm problems Dave Saville 12-14-2004
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




Similar ThreadsPosted
Problems using GD.pm January 8, 2005, 8:05 pm
Problems when using Net::MSN 1.022 May 4, 2005, 1:20 pm
LWP problems July 11, 2005, 3:50 pm
PPM Problems on Win.XP November 5, 2007, 4:26 pm
LWP Problems (Authentication?) September 5, 2004, 7:12 am
Problems with Parse::Lex May 5, 2005, 8:22 pm
DBI_DB2 problems June 2, 2006, 5:24 pm
CGI.pm: encoding problems June 9, 2006, 10:53 am
Test::Pod problems March 3, 2007, 1:04 am
problems with Date-Calc July 8, 2004, 3:09 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap