Topic "Input prompt is cancelled after short time interval"

Author Message
Guest




"In batch mode, any choice prompt is automatically replied and any input prompt is cancelled (after short time interval)."
Is there any way to set the time interval that it takes before an input prompt is cancelled?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
No, it's fixed at 10 seconds.
But maybe there's other solution. What prompt are you having the problem with?
_________________
Martin Prikryl
Guest




The password prompt does not provide much time to enter a lengthy password.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Well, if your script is interactive, do not run it in non-interactive mode, at least during the authentication.

Code:
option batch off
open sftp://user@example.com/
option batch abort
...

_________________
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