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

New Post: SshOperationTimeoutException and SshConnectionException continue to appear randomly.

$
0
0
Hello, I am currently working on a project that must download, edit and then upload a file from an sftp server. To achieve this, I am using this library. As well as this, the file on the sftp is renamed before it is edited and uploaded, then renamed back to its original name once completed.

My issue is 50% of the time, an exception will appear. This exception can be either a SshOperationTimeoutException (timeout set to 10 seconds) or a SshConnectionException, but will always occur on the 'SftpClient.Connect()' function. The other 50% of the time, the program works as expected. What could be causing these issues and what can I do to minimize or solve them.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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