A file replication daemon is developed to replicate files from client to pre-configured set of remote sites for increasing the file availability. The data to be sent is optimized for file updates by using different function to generate a patch file with only changes. Client and server are communication take place on our own developed and defined Request and Response protocols i.e. first request is send for any services then demon analysis the request and send response with requested service. These services are File Recover, File update on server, File delete request and Patch delivery on server. Both Servers are made synchronized for the latest copy of file after any failure at any end. This implementation is made possible by opening two sockets on each server for master and slave. Each server after 5 sec as well as after recovering from failure connects with master of another server and asks for updated file as well as deleted file on that server to make himself updated with the latest copy of the file. In the testing we checked our server and client in all conditions of file updating, deletion as well as recovery and get good results as per we implemented.