Click here to Skip to main content
15,877,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I need to synchronize two files namely 'File1' And 'File2' , which is exactly the copy of 'File1', and is present in two geographically separated LAN s which are connected through WAN. So if any modification are applied for 'File1' ,then that changes to be synced to 'File2' ,similarly for the opposite scenario also. ie. from 'File2' to 'File1'.
The files may be Office Files, 2D and 3D drawing files etc. only the changes need to be synchronized.
Any Suggestions for the implementation of this concept are highly appreciated.


Richard MacCutchan 14-May-15 7:38am    
You will need some way of notifying the system at each repository when any changes take place (Filesystem watcher perhaps). You then need to copy the latest version to the out of date one, probably using sockets.
Jinosh 15-May-15 1:14am    
So by using sockets whether we will copy the entire file or the changes. i need a synchronization mechanism which works like the synchronization process of 'Drop box'.
Let me try it using Sockets.thanks for your suggestions.
virusstorm 14-May-15 13:28pm    
Are you trying to achieve this through code? Where are the files located (i.e. on a server, NAS, SAN, etc.)? Essentially, you are trying to replicate a file from one location to another. There are a great deal of file level tools that can achieve this faster then C# can.
Jinosh 15-May-15 1:11am    
Thanks for your suggestions.
I am trying to achieve this through code. The files are located on servers. I need not want to replicate the entire file, I need to copy only the changed portions of the file.
Can You mention some file level tools for doing this.

1 solution

i know you meaning , you want to two-way real-time sync,you can search this and find some useful software to help you solve this problem,or maybe you can see this article AOMEI Free Backup Software for Windows Backup to NAS Devices. As for data sync, you can also put the sync image file to a NAS device other than manually connecting the computer to an external hard drive. In this case, it is necessary for specialized Windows sync solution software to support backing up to NAS as well as restoring from NAS in Windows PCs and Servers.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900