Beware the timezone differences. It seems that there is not a standard way to learn the timezone in which the FTP server is running. IIRC, MDTM should return the timestamp in UTC, but I've found this to be unreliable.
In a utility I wrote (here and here), I simply add an offset to the time to make an accurate comparison.
Best regards
-lem, but some call me fokat
In reply to Re: $ftp->mdtm question
by fokat
in thread $ftp->mdtm question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |