Generated script does not run

Advertisement

drambeldier
Joined:
Posts:
2

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
open sftp://Userxyz:xxxxxxxxx@myServer
lcd C:\Users\Internet\Documents
cd /
put Ellipse.xcf
exit
is called with
@echo
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="D:\WinSCP.log" /ini=nul /script="D:\Scripts\ftp_AR.txt"
echo "Errorlevel" %Errorlevel%
pause
Any idea?

Regards, Ralf

Reply with quote

Advertisement

Guest

Sorry, me as a newbie was confused with all the possibilities - generated a sript for ftp instead of sftp and wanted it to repair with simply replacing the keyword. After a new generate all works fine. Thank you for reading.

Reply with quote

Advertisement

You can post new topics in this forum