Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: swithch TIMEOUT in Scripts

The -timeout switch is supported since 4.1.x only.
cpy

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!