Nov 19, 2011 at 4:36 AM
Edited Nov 19, 2011 at 4:40 AM

if a sftpclient disconnected becouse of network broken, I call the func sftpclent.Connect()

the function SftpClient.OnConnected() should add

if (this._sftpSession != null)

    this._sftpSession = null;

but sometimes this._sftpSession.Dispose() throw exception

can somebody fix the err

Nov 21, 2011 at 7:36 PM

Can you post a code to reproduce the error, and I guess tell me where to put a break point to disconnect the client and I will look into it.