"Host does not exist" from script
I've read various other related topics, but none of them seem to address my specific problem.
I'm using WinSCP 4.0.2 (build 344) and created a script try.wscp as follows:
I execute the script with the command:
This results in the error "Host does not exist" and leaves me in interactive mode. When I then run the command open "sync host1" manually, the connection is established without a problem.
Any ideas?
I'm using WinSCP 4.0.2 (build 344) and created a script try.wscp as follows:
option batch on option confirm off open "sync host1" option transfer binary option synchdelete on synchronize local J:\obix1\try /backup/try close exit
c:\progra~1\winscp\winscp /ini=c:\progra~1\winscp\winscp.ini /script try.wscp
Any ideas?