Setting timeout problem
I am trying to manually set the timeout in my script, but can't get it to work.
if I type:
then it connects fine, and the timeout is 100 seconds.
But If I try to put this into my script file it fails:
script.txt:
Then I get the following error:
Is there something I am doing wrong?
if I type:
winscp>open username:password@address -timeout=100 -passive=on
But If I try to put this into my script file it fails:
winscp.com /script="path/to/script.txt"
open username:password@address -timeout=100 -passive=on command1 command2
I tried adding it after theThe filename, directory name, or volume label syntax is incorrect
/script
parameter as /timeout=15
or -timeout=15
, but get the same error.
Is there something I am doing wrong?