Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6891757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:27:01+00:00 2026-05-27T06:27:01+00:00

I know there are several programs out there that will sync files over the

  • 0

I know there are several programs out there that will sync files over the network. Non of them do what I have been thinking of. Let me explain what I want to achieve…

In my network several computers share the same files. for example the quickbooks file is accessed by several computers and it is a large file. also there are the pst files from outlook large as well. every night we create a backup over the network of the files that have been changed. I think it does not make sanse to copy a whole 1 gb file if it had some minor modification. so I want to come up with an algorithm that will compare parts of files.

for example let’s say that the outlook pst file consists of bytes:

1, 2, 3, 4, 5, 6, 7, 8, 9    

if I receive an email the bytes will now be:

1, 2, 3, 4, 5, 6, 7, 8, 9, 10    for example

now instead of sending the whole file it will be easier to send just the byte 10

so in reality the file has thousands of bytes so I will do the checksum of every megabyte of the file so now my table should look like:

aaa1, aaa2, aaa3, abf8, etc...   

if when receiving an email now the pst file has a table as:

aaa1, aaa2, aaa3,  7a8b, etc  ... then I know that the first 3 megabits are the same and I should send just one megabite instead of the entire file...

I think this algorithm will work great if content was added towards the end of the file but in reality a byte may be changed at the beginning of the file and my algorithm is not going to work. for example if one byte is added at the begining of the file all the hex codes will change…

how can I make the algorithm more efficient? It will be nice if I could send parts of the file instead of the whole file

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:27:02+00:00Added an answer on May 27, 2026 at 6:27 am

    The rsync protocol will efficiently synchronise large files with small differences. It is much cleverer than the scheme you envisage, so you should either read Tridgell and Mackerras’s write-up before embarking on your own solution or just use rsync. There’s a free Windows wrapper here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there are several plugins that do asynchronous processing. Which one is the
I know there have been a few threads on this before, but I have
I have written several program and found out that when compiled in 64bit, the
I know there are several ways to deploy a .net windows client application: There's
I know there are several libraries to connect to XMPP servers, but is there
I know there are several threads and posts regarding this issue in the internet
I know it is easy to recommend several cross platform libraries. However, are there
(There is a very similar topic that never got solved: here ) We have
I have a fairly large program written in C. It spans several files, and
I'm running several projects in CruiseControl.NET. Many of them have no build errors and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.