if I type:
winscp>open username:password@address -timeout=100 -passive=on
then it connects fine, and the timeout is 100 seconds.
But If I try to put this into my script file it fails:
open username:password@address -timeout=100 -passive=on
Then I get the following error: "The filename, directory name, or volume label syntax is incorrect"
I tried adding it after the /script parameter as /timeout=15 or -timeout=15, but get the same error.
Is there something I am doing wrong?