Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Preserving timestamps with Net::FTPby RhetTbull (Curate) |
on Jun 25, 2001 at 23:48 UTC ( [id://91407]=note: print w/replies, xml ) | Need Help?? |
Try this:
Regards, Rhet Update: I think I may have misunderstood your question. If you are wanting to change the time on the remote files (e.g. you are using Net::FTP to upload them to remote servers) then I'm not sure how to do it. However, one solution (kludge) could be to upload the files to the remote machines then change the time on all the local files to the current time:
Update #2: Another solution (also a kludge but it would work) would be to keep a logfile for each machine with the filenames and times. Then you could just parse the logfile and compare to your local files to see what needs to be uploaded.
In Section
Seekers of Perl Wisdom
|
|