sftp -oConnectTimeout option


Author
Message
emalinis
emalinis
Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)Supreme Being (101 reputation)
Group: Forum Members
Posts: 7, Visits: 17
Hi, in relation to this/Alex Qiu's post, what we are looking for is a "-oTransmitTimeout" setting/option.

What we have sometimes encountered is that during the transmission of a file with sftp.exe, the transmission just 'hangs', and sits there indefinitely.  We suspect that our client is not getting or is somehow losing the ACK packet from the server, so the sftp just waits forever.  What typically happens for us, is that the Windows task we are using to run the file transfer, reaches its defined maximum run time, so the task just gets killed when that happens, but this is not at all helpful and our sftp script does not get the opportunity to handle the issue gracefully.

So what we would like is to be able to set an option to specify the maximum amount of time for the sftp program to wait during a file transmission.  And then just produce an error and exit (or perhaps move onto the next file in a batch) if it reaches the timeout.

Can you pls advise whether we can have this feature as well (or if it already exists in some form - using 'keepalive' maybe?) in the sftp program?

Technical Support Group...
Technical Support Group (TSG)
Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)Pragmateer (1.6K reputation)
Group: Moderators
Posts: 144, Visits: 648
Hello,
I will discuss this request with our development team and get back to you. Our team tries to get new feature request like this one out quickly.

Pragma Systems Technical Support
13809 Research Blvd, #675
Austin, TX 78750
http://www.pragmasys.com
alex qiu
alex qiu
Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)Supreme Being (244 reputation)
Group: Forum Members
Posts: 17, Visits: 85
Hi there,

Am new to Pragma fortress app, while when migrating our sftp related app from Linux to Windows, we found that in Pragma fortress world there is no such "ConnectTimeout" option in sftp command.

We would like to know that how to setup a connection timeout in Pragma fortress world when using sftp connection, we need such setting in case the connection is hanged during establishing the connection.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search