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

New Post: SSH.NET

$
0
0
What version of SSH.NET are you using ?
Can you verify whether SshClient.IsConnect is still true after the exception ?

Also try subscribing to the Exception event to learn more on the reason why the connection was dropped:
            using (var client = new SftpClient(...))
            {
                client.ErrorOccurred += (sender, args) => Console.WriteLine(args.Exception);
                client.Connect();
                ...
            }

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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