Re: how can i capture exception when the sftp conn (General questions)
Hi,
In non blocking mode Done event should fired with some error. I receive this error when using PutFiles Method and unplugged my lan cable: 30027 - Component was busy and got disconnected.
In blocking mode you can use LastError Property to find out which error is received.
More help for LastError Property you can find here:
http://www.weonlydo.com/SFTP.NET/Help/WeOnlyDo.Client.SFTP.LastError.html
Let us know how it goes.
Regards,
Drazen