Hi All, I met a problem when I use rsync to transfer some files to remote server. Why does my transfer fail with something like the following error? rsync: mkstemp "/Instrument/A0003237.agilent.com/.Instrument.mdb.3lGdSl" (in wcss) failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791) I have no idea when this error will happen, so I need your help. Thanks! Best Regards Du jichu -------------- next part -------------- HTML attachment scrubbed and removed
On 7/4/07, ji-chu_du@agilent.com <ji-chu_du@agilent.com> wrote:> I met a problem when I use rsync to transfer some files to remote server. > > Why does my transfer fail with something like the following error? > > rsync: mkstemp > "/Instrument/A0003237.agilent.com/.Instrument.mdb.3lGdSl" > (in wcss) failed: No such file or directory (2) > > rsync error: some files could not be transferred (code 23) at > /home/lapo/packaging/tmp/rsync-2.6.6/main.c(791)Since you didn't paste the exact command you used, I can only guess at what is going on. Rsync requires all components of the destination path except the last to already exist. For example, if you give a command like this: rsync -a Instrument.mdb \ host::wcss/Instrument/A0003237.agilent.com/ and Instrument/ does not exist, you'll get the error that you cited. See this thread for more information: http://lists.samba.org/archive/rsync/2007-January/017164.html http://lists.samba.org/archive/rsync/2007-February/017212.html Matt
On 7/4/07, ji-chu_du@agilent.com <ji-chu_du@agilent.com> wrote:> The destination path already exists before my first transfer. > > And the rsync command I used was : > rsync.exe -v -rlt -z --progress --delete "/cygdrive/c/DBUploaderTemp/Instrument.mdb.local" "lapis::wcss/Instrument/A0003237.agilent.com/ Instrument.mdb" > > I don't know the reason why this error happened, I hope I can get some help from you.I know of nothing that can cause the error other than the destination not existing. Matt