Posted: 2014-01-15 11:07
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
open ftp://Firma064:meZ15(J1)firstname.lastname@example.org -passive=on
# Change remote directory
# Upload the file to current working directory
# Exit WinSCP
winscp.com /script="F:\WINSCP\EDI\VIEGA\UPLOAD.TXT" /log="F:\WINSCP\EDI\VIEGA\upload.log"
Connecting to 184.108.40.206 ...
Connected with 220.127.116.11. Waiting for welcome message...
Starting the session...
Reading remote directory...
Active session:  Firma064@18.104.22.168
F:\...\8601827122.txt | 0 B | 0,0 KiB/s | binary | 0%
Copying files to remote side failed.
(A)bort, (R)econnect (1 s):
WinSCP, Version 5.5.0 (Build 3839)
What am I doing wrong?[/u]
Location: Prague, Czechia
That's by purpose. This is error from which WinSCP can recover (reconnect and resume transfer), so it tries that.
You can disable this by setting
You can post new topics in this forum
And it's free!