I have a c# program that has two parts. A server and a client part. The client part reads a file in small sections, calculates checksums on each individual section then store this information information into an sqllite database. It doesn't this to find out if there any any changes in the file and if there are, it will send only the changed sections to the server part of the program. The program works beautifully now and we use it to backup data all the time. However, we want to change this. We are wanting to get rid of the server part of the program, so i have came up with the below changes.
1. i need the client part to store the checksums in an xml database instead of sqllite
2. instead of sending the changed parts to the server part of the program, i would like to store it in a file. for example, file1.doc.part so i can use this to patch the original file later.
3. I also need you to write codes that will apply the patch to the original file.
Basically, this is like xdelta. However, instead of requiring both the changed and the old file to be available to create a delta, this program uses a database.
if needed, I am willing to give whomever will be working on this the source codes of the program that pertains to this action. Note: You will not get the entire source code of the program. Just the functions that i know are involved in this process to help you create this.