Search the web
Sign In
New User? Sign Up
net-ftp-common
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Return a file list with dates in Epoc format   Message List  
Reply | Forward Message #48 of 71 |

A script I am building needs to identify and get remote files that
have changed since its last run. The easiest format for date
comparisons is the epoc time format (or anything similar that can be
used in a simple numeric or string comparision).

The FTP::Comon ls method returns the date in a hash (month string,
yearOrTime, dayofMonth). I would have to convert each item to form a
useful string (ie epoc or "YYYYMMDDHHMM") for comparision. That's
not a major task, but I was wondering if there an alternative way of
returning the date in such a manner. (Note that while Net::FTP's
mdtm method returns in Epoc, it is impractical since it only works
with individual file names).

Tom






Thu Jan 6, 2005 6:55 pm

thilbig
Offline Offline
Send Email Send Email

Forward
Message #48 of 71 |
Expand Messages Author Sort by Date

A script I am building needs to identify and get remote files that have changed since its last run. The easiest format for date comparisons is the epoc time...
thilbig
Offline Send Email
Jan 6, 2005
6:56 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help