c# - How to get exception information when using async methods in SSH.NET? -
i using asynchronous methods of ssh.net c# api manage sftp operations. if specify invalid remote path in begindownloadfile or beginuploadfile operation fails , asynccallback called 0 transferred bytes count. want hold of exception information doesn't seem passed. installed error handler on sftp connection (erroroccurred) never gets called. idea of how exception can trapped when using async methods of ssh.net?
i've found error: not using enddownloadfile in callback handler. once added there, threw exception.
Comments
Post a Comment