Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: How can I get the timestamp of a file on a FTP server?by spaz (Pilgrim) |
on Feb 16, 2001 at 01:05 UTC ( [id://58718]=note: print w/replies, xml ) | Need Help?? |
I assume you're using Net::FTP, and if you're not you should be. You can use the dir method to get a listing of files and directories, you can then iterate over that list and execute the mdtm( $file ) method on each file, which will give you the modification date. The rest is left as an exercise for the reader. --Dave
In Section
Seekers of Perl Wisdom
|
|