Re: Use of wodFtpDLX.dll COM object with .NET Wind - WeOnlyDo Discussion board

Re: Use of wodFtpDLX.dll COM object with .NET Wind (General questions)

by wodDrazen, Thursday, September 14, 2006, 08:55 (6645 days ago) @ Bill

Hi Bill,


If Version Property from wodFtpDLX contain DEMO word than you are using DEMO version of wodFtpDLX.
Probably you are using it because you don't have LicenseKey Property.

Her is example in .NET Windows application:
----------------------------------------
Dim WithEvents ftp1 As wodFtpDLXComLib.wodFtpDLXCom
Dim cert As WODCERTMNGLib.Certificate

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

ftp1 = New wodFtpDLXComLib.wodFtpDLXCom
cert = New WODCERTMNGLib.Certificate

ftp1.Certificate = cert

cert.LoadKey( c:\SRAprivate.txt , weonlydo )

ftp1.Hostname = your_hostname
ftp1.Authentication = wodFtpDLXComLib.AuthenticationsEnum.authCertificate
ftp1.Login = your_login
ftp1.Protocol = wodFtpDLXComLib.ProtocolsEnum.SFTP
ftp1.Connect()

End Sub
----------------------------------------

Sample shows you how to connect to server with PrivateKey.

Hope this helps.


Regards,
Drazen


Complete thread: