Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Timeout value in ConnectionInfo - not used for Sftp?

$
0
0
When doing ListDirectory on an SftpClient where you are connected to a server that has silently disconnected (wlan down), SSH.NET will hang indefinately (I waited at least 20 minutes).

I have set a timeout on ConnectionInfo, but that does not change anything.
Setting OperationTimeout on the SftpClient works however.

So what does the Timeout property on ConnectionInfo do?
Is that only for the initial connection attempt?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>