Re: C++(MFC) SFTP with PrivateKey (General questions)
Sorry if I wasnt clear enough...
I have created an instance of IwodFtpDLXCom and ICertificate, but when I see the VB code wodDrazen link to:
[code]
Set ftp1 = New wodFtpDLXCom
Set cert = New Certificate
Set ftp1.Certificate = cert
cert.LoadKey c:RSAprivate.txt , weonlydo
ftp1.HostName = your_hostname
ftp1.Authentication = authCertificate
ftp1.Login = your_login
ftp1.Protocol = SFTP
ftp1.Connect
[/code]
The Certificate is connected with wodFtpDLXCom:
[code]Set ftp1.Certificate = cert[/code]
How do I do that in VC?