Click here to Skip to main content
15,888,010 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello All!
I need to create a client that will sync  local folders to a remote server and i am using dropbox or any other client already created.
What are your opinions about what should i use? I have looked on MS Sync Framework but i still haven't found anyone using it over the internet.
Any ideas about this topic will be very appreciated!

I have Tried this code "http://code.msdn.microsoft.com/File-Synchronization-516e3ad7";


What I have tried:

Posted
Updated 15-Feb-17 23:34pm
v3

1 solution

Your question isn't clear as to whether you want to write a client from scratch or use an existing client - iirc, Dropbox has a client you can install on your machine to sync a folder to the cloud

If you with to build your own client, then you're looking at something like :-

DropNet/DropNet at master · DropNet/DropNet · GitHub[^]

or

GitHub - saguiitay/DropboxRestAPI: Dropbox REST API client in C#[^]

[Edit]
you will need to know how to do things like :-

a) how to read the filesystem to get the initial file details
b) how to read a dropbox folder and get file details
c) how to detect file system changes ? FileSystemWatcher
d) how to use the REST client(s) shown above to interact with DropBox
e) how to get the differences in the filesystems to sync to dropbox using the info from a), b)

[/Edit]
 
Share this answer
 
v3
Comments
Srusti Thakkar 16-Feb-17 6:05am    
I want to create my own client, which is sync local directory to Dropbox. If i remove file from local directory it will automatically remove from dropbox. Hows that possible?
Garth J Lancaster 16-Feb-17 6:43am    
I've edited some points into my initial response - its not a trivial task

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