Hello, We came across a weird bug using SCP in SFTP mode Current master, command ./scp -s -S `which ssh` qq localhost:`pwd`/qq effectively truncates the file to be copied. SCP mode deals normally. I understand that it's a corner case but still think it's worth reporting. Thanks in advance! -- Dmitry Belyavskiy