in reply to Re: Re: Re: Re: Re: Re: using $ftp->mdtm($file)
in thread using $ftp->mdtm($file)

stewartski,
A quick cursory glance at your code doesn't reveal any immediate problem. So now I can only offer you possibilities.

I will explain the last part now. You want to temporarily change the mdtm sub to the following:

sub mdtm { my $ftp = shift; my $file = shift; return $ftp->_MDTM($file) || undef; }
This won't fix anything - this is strictly to see what the stamp looks like. If you can subsequently modify the original code to properly parse it great - send in a patch. If not, post a new SoPW question saying how can I convert "X" into epoch time stamp.

Cheers - L~R