Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Scenario: I want to develop an application.The application should be able to connect to my remote server and download data to the local disk , while downloading it should check for new files and only download the new ones simultaneously creating the required(new) folders.

Problem: I have no idea how to compare the files in the server with the ones in the local disk.How to download only the new files from the server to the local disk?

What am thinking?: I want to sync the files in the local machine with the ones in the server. I am planning to use rsync for syncing but i have no idea how to use it with ASP.NET.

Kindly let me know if my approach is wrong or is there any other better way to accomplish this.
Posted

1 solution

Have a look at the Microsoft Sync Framework[^]. Perhaps it would satisfy your criteria.
 
Share this answer
 
Comments
Member 7781963 11-May-12 16:34pm    
thanks for the quick reply..can i invoke RSync via System.Diagnostic.Process?
Wendelius 11-May-12 16:40pm    
I'm really sorry, but this is a question I cannot answer since I'm not familiar with rsync.

But since it's an application, not a library, I'd guess that you can start it with parameters. If that's true, you could use Process.Start with proper parameters etc.
Sergey Alexandrovich Kryukov 11-May-12 17:56pm    
My 5.
--SA
Wendelius 11-May-12 17:57pm    
Thanks SA :)

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