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

Author Message
BobJames
[View user's profile]

Joined: 2008-03-24
Posts: 1
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Since 4.1 you can use -timeout switch with open command.
_________________
Martin Prikryl
Stewart Dickson

Guest


prikryl 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 http://us.imdb.com/Name?Stewart+Dickson
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>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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:
Quote:
Bug fix: WinSCP hanged when authentication prompt was displayed while timeout message was shown.

_________________
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