Autopatch software

Been googlin for aaages and just cant find anything.
Basically need a program that will check if the files on the client computer are the same as the remote FTP and if not it will download them.
Its really usefull while updating files regularly.

Any pointers?
thanks