GithubHelp home page GithubHelp logo

rsync.net's People

Contributors

kolosy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rsync.net's Issues

Application stops at "int i = f.readint();"

Hello,

I am trying to get the .net implementation of rsync up and running but I'm experiencing a few problems. Most of them I figured out on my own but I'm pretty stuck now. The communication between the server and the client has been established because whenever I shut down the server app, the client throws an error but I'm experiencing a problem while sending the files to the server. In the class "sender.cs" (55th line of the class, procedure SendFiles) the application hangs on the line that says "int i = f.readInt();". Is this a bug or am I most likely doing something wrong?
I call the application like this (on the client-side):
static void Main(string[] args) {
args = new string[] { "-a", "-v", "-v", "-v","-v", "-z", "-r", "c:\test", "rsync://duffman@PC-duff/ftp" };
MainClass mc = new MainClass();
mc.Run(args);
}

Does anybody know why the application hangs while sending the files?

Thanks,
Duffman-

License

Thanks, this looks really useful. What license is the code distributed under?

You should consider adding a LICENSE file to clarify this.

Rsync for windows

I new to rsync and trying to synchronize a folder on System A(Windows) to a folder on System B(Windows). Can you help me with the steps to achieve it.

Thanks in Advance

--R / --relative problems

Hi,

Using MatthewSteeples' fork of the code, I'm having some problems using the -R / --relative option. In a testapp, I call:

string[] args = new string[] { "-v", "-r", "-c", "--relative", "c:\\temp\\rsync\\source\\", "rsync://SshUser@localhost/backup" };
NetSync.Run(args);

This results in a (sub)directory structure /c/temp/rsync/source/ on the target, where I was expecting the file in directory c:\temp\rsync\source\ on the source to be copied into the root of the target.

It could be that I am misinterpreting some option parameter(?). Overall the port of rsync really works great, I just can't solve this one problem.

Cloning only selected folder

Hello,

I think include, exclude options are for cloning only selected files/folders.
Can you explain what to do to copy only selected folders?

Thank you.

rsync.net diff algorithm

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.