-
Notifications
You must be signed in to change notification settings - Fork 32
Description
I have been learning the source and doing some testing, am I correct in thinking the rsync diff algorithm is not working? The daemon is running with the command:
NetSync.exe --daemon --port 873 -vvvv
Then I sync a 1.2Mb text file using the following command:
NetSync.exe -r -c "C:\Work\RPCv4\RPCDlls\rpclog.txt" localhost::qc
Number of files: 1
Number of files transferred: 1
Total file size: 1223943
Total transferred file size: 1223943
Literal data: 1223943
Matched data: 0
File list size: 67
Total bytes written: 1224250
Total bytes received: 62
When the file is unchanged, there is a match and only a few bytes are transferred. If it is changed by one byte the whole file is retransmitted. Is there a away to make it only send the changes? I have also tried the rsync:// protocol format for the destination and set --no-whole-file (this option doesn't appear implemented in the code so far)
Thanks, this is a very cool project and I'm keen to help make it work.