Re: How to disable the retry options for a failed logon attempt
WinSCP does not retry on initial connection.
It reconnects only when it looses connection during transfer. Is that your case? That would mean that the password is changed during transfer. Does not sound plausible to me that this happens often to you.
Anyway,
https://winscp.net/eng/docs/scriptcommand_option
It reconnects only when it looses connection during transfer. Is that your case? That would mean that the password is changed during transfer. Does not sound plausible to me that this happens often to you.
Anyway,
option reconnecttime off
should do.
https://winscp.net/eng/docs/scriptcommand_option