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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -