WinSCP zeros files before uploading
When I drag-n-drop a file from the my local workstation to the server view, to upload a file to the server, and a file by that name already exists on the server, WinSCP zeros the file on the server before presenting the confirmation dialog. The dialog actually says something like this:
. 2011-05-31 09:14:58.955 Asking user:
. 2011-05-31 09:14:58.955 Remote file 'test.txt' already exists. Overwrite?
. 2011-05-31 09:14:58.955
. 2011-05-31 09:14:58.955 New: 76 bytes, 5/31/2011 9:10:13 AM
. 2011-05-31 09:14:58.955 Existing: 0 bytes, 5/31/2011 10:15:01 AM ()
My question is, how do I prevent this behaviour? If I accidentally try to upload the wrong file, by the time I realize and get to cancel the upload, the file has already been cleared.
(I will try to upload a log after I submit this)
. 2011-05-31 09:14:58.955 Asking user:
. 2011-05-31 09:14:58.955 Remote file 'test.txt' already exists. Overwrite?
. 2011-05-31 09:14:58.955
. 2011-05-31 09:14:58.955 New: 76 bytes, 5/31/2011 9:10:13 AM
. 2011-05-31 09:14:58.955 Existing: 0 bytes, 5/31/2011 10:15:01 AM ()
My question is, how do I prevent this behaviour? If I accidentally try to upload the wrong file, by the time I realize and get to cancel the upload, the file has already been cleared.
(I will try to upload a log after I submit this)