WinSCP fail when receiving server's disk is full.
Once the disk on receiving side reach its end, WinSCP receive a packet it can't decode.
scp (tested on Cygwin SCP) correctly tells that there's "no space left on device". Though, scp will first sit there and pour entire file into void, before spelling the error.
Also, NetBox (based on WinSCP code) spell a little more verbose about the error:
Error decoding SFTP packet (9, 4, 9)
--------------------------- Error --------------------------- Incoming packet was garbled on decryption --------------------------- Abort Reconnect Help ---------------------------
Also, NetBox (based on WinSCP code) spell a little more verbose about the error:
Error decoding SFTP packet (9, 4, 9)