swithch TIMEOUT in Scripts
Hello!
Thanks for allowing this software to be open source!
I am using WinSCP 4.0.7 and want to make an script. The default 15 seconds to try to connect to the host is not enough for my machine, so I tried the switch "-timeout=50" in the command open, but a message says "too many parameters". It seems it is not recognized that switch.
If I omitte the switch, the connection goes ok in the command window because even if the time expired, it tries again, but for a script, it does not try again, so i need to tell the timeout.
Can somebody help me with a comment?
Thanks in advance!
Thanks for allowing this software to be open source!
I am using WinSCP 4.0.7 and want to make an script. The default 15 seconds to try to connect to the host is not enough for my machine, so I tried the switch "-timeout=50" in the command open, but a message says "too many parameters". It seems it is not recognized that switch.
If I omitte the switch, the connection goes ok in the command window because even if the time expired, it tries again, but for a script, it does not try again, so i need to tell the timeout.
Can somebody help me with a comment?
Thanks in advance!