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

steallport

Thank you, that was it
martin

Re: Script open error

steallport wrote:

"C:\Program Files\WinSCP\WinSCP.exe" /console /script= E:\robocopy\mysession-backup\backup2.txt

Remove the space after "/script=".
steallport

Script open error

Help - I can't see what is different from other implementations I've done.

I have a script:

option batch on

option confirm off
open mysession
cd /var/lib/mysql/unloads
lcd e:\robocopy\mysession-backup\Backupv2
synchronize local
close
exit


I run the command

"C:\Program Files\WinSCP\WinSCP.exe" /console /script= E:\robocopy\mysession-backup\backup2.txt

The "DOS" window opens pauses on Searching for host... for a couple of seconds and then states Host does not exist

The "DOS" box is still open and if I type: open mysession it connects

mysession is configured with the IP as the host, port is 22, username and password are saved and the protcol is is sftp with scp fall back

Anybody got any suggestions why it doesn't connect automatically?

Upgraded from 4.0.x to 4.1.9 on a windows 2003 server

Thanks