Would md5 hashes allow detection of synced files?
Posted
by
codpursue
on Programmers
See other posts from Programmers
or by codpursue
Published on 2013-02-04T04:39:31Z
Indexed on
2013/06/24
22:31 UTC
Read the original article
Hit count: 181
We have to develop our own file management system in Java web application. We need to sync files between our main server and client severs and find out whether all the client server has all the latest version of files.
Our files are in pdf, doc and xls format they changes every now and then as and when it is required.
What we are thinking of using MD5 checksum to find out hashcode of files on Main server and store it in database. Same would be there in Client Servers database. After comparing records on database we would come to know whether client servers are synced or not.
Please suggest if there are any better ways to do the same.
© Programmers or respective owner