Command Line Inteface Question

Advertisement

Tom Williams
Guest

Command Line Inteface Question

When I am running long shell scripts on the server, I see a prompt that the server has not communicated back in 15 seconds with an option to abort or wait another 15 seconds.

Question 1
If I just ignore this prompt, will my script continue to completion and the shell will exit on its own?

Question 2
If the answer to number 1 is No, how to I prevent this prompt from showing? When I set Batch Mode On the script auto exits on the first prompt which is bad..

I'm using the December posting of WinSCP.

Regards,

Tom

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Command Line Inteface Question

Tom Williams wrote:

If I just ignore this prompt, will my script continue to completion and the shell will exit on its own?
Yes it should.

If the answer to number 1 is No, how to I prevent this prompt from showing? When I set Batch Mode On the script auto exits on the first prompt which is bad..
You can set longer timeout on login dialog.
_________________
Martin Prikryl

Reply with quote

Simon Tse
Guest

Re: Command Line Inteface Question

martin wrote:

Tom Williams wrote:

If I just ignore this prompt, will my script continue to completion and the shell will exit on its own?
Yes it should.

If the answer to number 1 is No, how to I prevent this prompt from showing? When I set Batch Mode On the script auto exits on the first prompt which is bad..
You can set longer timeout on login dialog.

I set a 999 timeout on the login dialog. But that doesn't actually save it does it? I have to save the 999 timeout to a specific session it seems like.

When I run the batch script to connect to a server, it still says timeout after 15 seconds. How can I set the default timeout to be higher so that the command line batch script for winscp can have a long timeout as well?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Command Line Inteface Question

See Set defaults button on stored sessions tab of login dialog.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum