When I enter this line (var sftpASynch = asynch as SftpAsyncResult;) I am getting the following error (Error 1 The type or namespace name 'SftpAsyncResult' could not be found (are you missing a using directive or an assembly reference?))
This means I can't access the DownloadedBytes and UploadedBytes property to get the status.
Is there another namespace that I need to include or could I be doing something else wrong. I am currently including the following namespaces:
using Renci.SshNet;
using Renci.SshNet.Common;
using Renci.SshNet.Sftp;
The dll version is dated 22 November 2014 (v2014.4.6.0)
Any help would be greatly appreciated.
Thanks
↧