I guess you can just ignore it. The message does not necessarily mean anything went wrong.
I have a batch file that call winscp.exe /console /script=script.txt /hostkey=...... /log=Path log file
The script script.txt is :
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user:password@example.com
# Connect
open XXXXXX@XXXXX.IT
# Force binary mode transfer
option transfer binary
# Download file to the local directory d:\
cd xxx
cd xxx
put UNC PATH\*.zip (UNC PATH = \\servername\share)
# Disconnect
close
exiT
In log File I have always that message but zip file is trasfered on remote server
Thanks
Hard to answer without knowing a context.
I use WinSCP to put file zip on server via SFTP.
In log file I always have Status/error code: 2.
What is this message?
Regards