Topic "swithch TIMEOUT in Scripts"

Author Message
cpy
[View user's profile]

Joined: 2008-06-12
Posts: 1
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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24538
Location: Prague, Czechia
The -timeout switch is supported since 4.1.x only.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License