--files-from troubles on W2K

Wes Bigelow wesbigelow at hotmail.com
Sat Jul 19 12:46:17 EST 2003


When using --files-from on the receiver side with the following command line
(running the latest version of rsync from cvs as of 7/16/2003, rsync version 
2.5.6  protocol version 27 on W2K)

C:\rsync>rsync.exe -a --files-from=/cygdrive/C/rsync/filelist 
somewhere.com::Test
2 /cygdrive/C/test1

I get the following error on the receiver:

rsync: connection unexpectedly closed (24 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)


In the server logs I get the more interesting error:

2003/07/18  [1300] rsync error: syntax or usage error (code 1) at 
options.c(653)
2003/07/18  [2136] rsync error: received SIGUSR1 or SIGINT (code 20) at 
rsync.c(229)

I dug deeper and found that it was exiting at around line 653 in options.c

In the statement:

if (*argc != 2)

*argc is 1 and so the program exits.  FYI, (*argv)[0] is a "."

Any education as to what's going on is appreciated...

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail




More information about the rsync mailing list