Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on a Windows Desktop Application using C# where files/folders are transferred from web server to a particular user's folder in the computer and vice versa. (Something like SkyDrive where the files/folders from the application is copied to the user's skyDrive folder)

So right now I am able to copy the files to and from the web server if the system is connected to internet. If I create a file/folder offline and the next time I connect to internet I need to copy the newly created ones to the web server. Basically a 2 way sync while offline. Is there any possible way to implement this.? Can I implement this with Sync Framework ? Please help me

Thanks in advance!
Posted
Comments
Prasad Avunoori 28-May-14 7:58am    
You need to maintain the history of files,folder's created/modified date time to any available local database. When the system is connected to internet, compare the old files/folder details with existing one, then update in server.

1 solution

Quote:
Is there any possible way to implement this.?
Yes, of course. You may list files (an their attributes) on both the client and server side and then merge the folder contents.

Quote:
Can I implement this with Sync Framework ?
I'm not going to prevent you doing that, for sure.
 
Share this answer
 
v2

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