Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

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.
drambeldier

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