K
khai
Hi,
I am programmatically trying to check if a file has been modified by doing a
check on the metadata of the "before" and "after" files. I am using the md5
hash to do this, and it works with pdf and txt files. However, in comparing
Office documents like Word and PowerPoint, the hashing returns different
results even though the "after" file has not been modified. I did a check on
the metadata and found that the dates (last modified, created etc) are
different for the "before" and "after" file, and I believe that this is
reason for the different hashing results.
Before the actual hashing is done, the "after" file will be saved at a temp
location on the server. Is this the probable reason why the dates in the
metadata differ? If so, is there a work around to this?
I hope this is the right place to post my question on this issue. =)
I am programmatically trying to check if a file has been modified by doing a
check on the metadata of the "before" and "after" files. I am using the md5
hash to do this, and it works with pdf and txt files. However, in comparing
Office documents like Word and PowerPoint, the hashing returns different
results even though the "after" file has not been modified. I did a check on
the metadata and found that the dates (last modified, created etc) are
different for the "before" and "after" file, and I believe that this is
reason for the different hashing results.
Before the actual hashing is done, the "after" file will be saved at a temp
location on the server. Is this the probable reason why the dates in the
metadata differ? If so, is there a work around to this?
I hope this is the right place to post my question on this issue. =)