This is a discussion on Re: "rsync: not found" error with sshwindows within the Rsync forums, part of the Networking and Network Related category; >> I'm trying to copy files from a Linux system to a Windows XP system >> running ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>> I'm trying to copy files from a Linux system to a Windows XP system
>> running sshwindows. I can use gFTP and log in just fine. sshwindows >> is based on cygwin so you just use /cygdrive/c/ to access the Windows >> C: drive, etc. >> >> But for some reason, rsync is having problems transferring files to >> this system: >> >> >> [1710][~]$ rsync -av /tmp/foo.txt user@windowsbox.com:/cygdrive/c/ >> user@windowsbox.com's password: >> rsync: not found >> rsync: connection unexpectedly closed (0 bytes read so far) >> rsync error: error in rsync protocol data stream (code 12) at io.c(189) >> [1701][~]$ >> >> >> The only thing rsync will say is "not found", no matter how many "-v"s >> I add to the command. However, /tmp/foo.txt definitely exists -- I >> can use that same rsync command except with a different target, and it >> transfers fine. And /cygdrive/c/ definitely exists on the Windows >> system; gFTP is able to read & write that location with no problems, >> as are the scp and sftp commands-line tools. >> >> Is there a way I can get rsync to tell me exactly what it is that's >> "not found"? And assuming it is referring to the /cygdrive/c/ path on >> the Windows system, does anyone have any idea why rsync can't see it? > > Have you checked that rsync works on the shell of Windows to which ssh > connects? > > Anyway, the error message should say "rsync (server side): not found" Or > even better: "Rsync program not found on server machine, please, give > the location using --rsync-path option". Actually, rsync is not the transport in this scenario, SSH is. The Windows system doesn't need to have rsync installed. I'm using rsync because I want to sync many files within the directory tree (not shown in my example, which was simplified to just foo.txt to show the error). -Anthony DiSante -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html |