Generated script does not run
Hi,
I let WinSCP (actual version) under Windows10 generate a script for sftp. If I run the script, it returns an errorlevel=1. The script produces no messages (I expected at least "Searching for host...") and does not create a log.
The script
is called with
Any idea?
Regards, Ralf
I let WinSCP (actual version) under Windows10 generate a script for sftp. If I run the script, it returns an errorlevel=1. The script produces no messages (I expected at least "Searching for host...") and does not create a log.
The script
open sftp://Userxyz:xxxxxxxxx@myServer lcd C:\Users\Internet\Documents cd / put Ellipse.xcf exit
@echo "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\WinSCP.log" /ini=nul /script="D:\Scripts\ftp_AR.txt" echo "Errorlevel" %Errorlevel% pause
Regards, Ralf