I am developing an app using sshnet and have run into a problem when I try a different sftp server. I developed the app using VanDyke Sftp server and everything works great. However, when I switched to Titan, the app hangs on the SftpClient _socket.Disconnect(true).
I have found if I use _socket.Disconnect(false) or _socket.DisconnectAsync(SocketAsyncEventArgs e) it works on Titan.
I have try multiple ways to catch exceptions and it does not seem to throw any.
Is this a viable workaround?
Thanks for the great work!!!
--jscott
I have found if I use _socket.Disconnect(false) or _socket.DisconnectAsync(SocketAsyncEventArgs e) it works on Titan.
I have try multiple ways to catch exceptions and it does not seem to throw any.
Is this a viable workaround?
Thanks for the great work!!!
--jscott