I'm using WinSCP with /console /script to upload a file to a FTP server. It happened today that WinSCP tried to send the same file forever. The script I used was:
option echo off
option confirm off
option batch abort
option transfer binary
put -nopermissions -preservetime "C:\path-to-file-to-upload.zip" "/backup/4/"
Any idea what happened and how I can avoid this problem?