Anchor has asked for the wisdom of the Perl Monks concerning the following question:
The date/time stamp returned is fine except the seconds are always 00. I have a different files on the FTP server with different second values but the mtime property is always 00. It like the seconds are getting dropped. Has anyone ever heard of this? Any help would be greatly appreaciated. Thanks.@files = $ftp->List($sFileNamePattern, 3); foreach my $file (@files) { if (CheckDTS($file->{'mtime'}) == 1) { push(@aGoodFiles, $file); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mtime method dropping seconds
by roboticus (Chancellor) on Apr 13, 2010 at 11:47 UTC | |
|
Re: mtime method dropping seconds
by Marshall (Canon) on Apr 13, 2010 at 05:50 UTC | |
by Anchor (Novice) on Apr 13, 2010 at 14:28 UTC | |
by Marshall (Canon) on Apr 13, 2010 at 19:12 UTC | |
by Anchor (Novice) on Apr 14, 2010 at 18:10 UTC | |
by Anchor (Novice) on Apr 15, 2010 at 14:17 UTC | |
by Marshall (Canon) on Apr 16, 2010 at 03:07 UTC |