Using modified date of file for comparison. Is it safe?

Posted by papadi on Stack Overflow See other posts from Stack Overflow or by papadi
Published on 2010-06-15T08:34:45Z Indexed on 2010/06/15 9:12 UTC
Read the original article Hit count: 141

Filed under:
|

I want to make a procedure that does one way syncrhonization of a folder between a server and a client. I was thinking to use ModifiedDate as a criterio, provided that only the date of the server files will be used. Procedure will not use Modified dates of files on the client at all. It will read dates from the server and compare them with dates read from the server last time the procedure run. Do you think this is safe? Is there any possibility that Modified Date will not be changed when a file is edited or it will be changed without touching the contents of the file (eg. from some strange antivirus programs)?

© Stack Overflow or respective owner

Related posts about file

Related posts about comparison