Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: sftpclient.DownloadFile(_localFileName, fs, null); ERROR: DownloadFile is not a member of SftpClient

$
0
0
Hi,

I have made the connection to SFTP server using SftpClient class successfully.

I am trying to execute below syntax,
sftpclient.DownloadFile(_localFileName, fs, null);

where fs is my File string object of System.IO.FileStream().

But i am getting below error:

Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeException: DownloadFile is not a member of SftpClient

at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.GetMethodInfo(ClrBridgeImpl* , Type pType, Char* pszMethodName, Type[] argumentTypes)

at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrInstanceMethod(ClrBridgeImpl* , ObjectWrapper* objectWrapper, Char* pszMethodName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

Kindly help.

regards,

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>