How can I stop my script from aborting after 15 seconds?

Advertisement

BobJames
Joined:
Posts:
1

How can I stop my script from aborting after 15 seconds?

I want my script to keep trying to connect but it is Aborting after 15 seconds? Are there settings that can fix this?

Host has not answered for more than 15 seconds. Still waiting...
Warning: Aborting this operation will close connection!
(A)bort: Abort
Terminated by user.

I'm currently using Option Batch Continue and Option Confirm Off

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,563
Location:
Prague, Czechia

Re: How can I stop my script from aborting after 15 seconds?

Since 4.1 you can use -timeout switch with open command.
_________________
Martin Prikryl

Reply with quote

Stewart Dickson
Guest

Re: How can I stop my script from aborting after 15 seconds?

martin wrote:

Since 4.1 you can use -timeout switch with open command.

In version 4.0.0.342 I find some bad behavior if the connection times out.
Past 15 seconds, the "Confirm"/[Abort] dialog ["Host has not answered for more than 15 seconds. Still Waiting... Warning: Aborting this operation will close connection!"] cannot be closed.

The host has answered: The "'user@host.dom' session password:" TextField has appeared in the "Password - user@host.dom" dialog.

However, because the "Confirm"/[Abort] dialog is still posted, you cannot type into the
Password TextField. Now, the "Confirm"/[Abort] dialog will not respond to the [Abort] PushButton and you cannot close the "Confirm"/[Abort] dialog. The application is wedged.

At this point, nothing short of rebooting the system will kill WinSCP. (That I know of.)

I will try upgrading to a more recent version ("Since 4.1" and see if this behavior improves.) Thanks,

-Stewart https://www.imdb.com/find?q=Stewart+Dickson&s=nm
Visualization Research Programmer, Integrated Systems Laboratory <invalid hyperlink removed by admin>
4355 Beckman Institute, 405 N Mathews Avenue, Urbana, IL 61801 USA +1(217)333-3923
<invalid hyperlink removed by admin>

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,563
Location:
Prague, Czechia

Re: How can I stop my script from aborting after 15 seconds?

Stewart Dickson wrote:

I will try upgrading to a more recent version ("Since 4.1" and see if this behavior improves.) Thanks,
I hope that this has been fixed in 4.0.6:
Bug fix: WinSCP hanged when authentication prompt was displayed while �timeout� message was shown.
.

Reply with quote

Advertisement

You can post new topics in this forum