Created attachment 12832 [details] Send last error messages to sender Hello, Here is a patch which sends last error messages to sender for a file-transfer which failed. It helps especially with protocol < 31. This can be useful for example to know that a FS is full. Thank you ! Ben ### Without : /repository/mybigfile.iso 539.26M 6% 11.21MB/s 0:11:01 rsync: [sender] write error: Broken pipe (32) rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2] ### With (of course the interesting message here is the first one) : /repository/mybigfile.iso 539.26M 6% 11.21MB/s 0:11:01 rsync: write failed on "/repository/mybigfile.iso" (in bkp): Disc quota exceeded (69) rsync error: error in file IO (code 11) at receiver.c(400) [receiver=3.1.2] rsync error: error in file IO (code 11) at io.c(1633) [generator=3.1.2] rsync: [sender] write error: Broken pipe (32) rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2]
Created attachment 12838 [details] Send last error messages to sender Nicer / smarter version.
Created attachment 12841 [details] Send last error messages to sender Error correction on sender side.
Created attachment 13959 [details] Send last error messages to sender Modified patch to seamlessly suit rsync 3.1.3. Thx !
Patch moved : https://github.com/WayneD/rsync/pull/2