<< Baut Logitech noch Tastaturen für Programmierer? | Home | MSN presence to Skype >> | Kontakt

rsync does work with plink

no need to have a rsync daemon on server

When I tried to use a tunnel via plink for rsync I got the error:
Unable to read from standard input: The handle is invalid.
rsync: read error: Connection reset by peer (104)
I wrote about the problem in rsync does not work with plink. Meanwhile I could investigate the problem. As mentioned in my previous blog entry the reason is an incompatibility in stdin/stdout redirection between cygwin and native Win32 programs.

To solve the problem I tried to use an other implementation to spawn a program in rsync. But this was not possible due to cygwin file descriptor handling shortcomings. But I was able to write a wrapper program for rsync, that avoids the wrong descriptor handling.

Now I'm testing this wrapper, the results are promising to have a working solution.



rsync does work with plink - part 2

The wrapper program is available.

Kommentar hinzufügen Trackback senden