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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -