Thank you for your reply.
Here is the part of the log that should be relevant.
. 2007-10-02 12:02:58.929 Sent 32768 bytes
. 2007-10-02 12:02:58.929 There are 35964 bytes remaining in the send buffer
. 2007-10-02 12:02:58.929 Looking for network events
. 2007-10-02 12:02:58.929 Detected network event
. 2007-10-02 12:02:58.929 Enumerating network events for socket 560
. 2007-10-02 12:02:58.929 Enumerated 3 network events for socket 560
. 2007-10-02 12:02:58.929 Detected network read event on socket 560 with error 0
. 2007-10-02 12:02:58.929 Received 28 bytes (0)
. 2007-10-02 12:02:58.929 Read 4 bytes (24 pending)
. 2007-10-02 12:02:58.929 Read 24 bytes (0 pending)
< 2007-10-02 12:02:58.929 Type: SSH_FXP_STATUS, Size: 24, Number: 11782
< 2007-10-02 12:02:58.929 65,00,00,2E,06,00,00,00,04,00,00,00,07,46,61,69,6C,75,72,65,00,00,00,00,
< 2007-10-02 12:02:58.929 Status/error code: 4, Message: 11782, Server: Failure, Language:
. 2007-10-02 12:02:58.929 Waiting for another 4 bytes
. 2007-10-02 12:02:58.929 Looking for incoming data
. 2007-10-02 12:02:58.929 Looking for network events
. 2007-10-02 12:02:59.054 Detected network event
. 2007-10-02 12:02:59.054 Enumerating network events for socket 560
. 2007-10-02 12:02:59.054 Enumerated 1 network events for socket 560
. 2007-10-02 12:02:59.054 Detected network read event on socket 560 with error 0
. 2007-10-02 12:02:59.054 Server sent command exit status 141
. 2007-10-02 12:02:59.054 All channels closed. Disconnecting
. 2007-10-02 12:02:59.054 Selecting events 0 for socket 560
. 2007-10-02 12:02:59.054 Server closed network connection
. 2007-10-02 12:02:59.054 Fatal error while disposing the SFTP queue.
So its the server who simply kills the connection. The question is whether this behaviour of winscp is by design.