Use of wodFtpDLX.dll COM object with .NET Windows - WeOnlyDo Discussion board

Use of wodFtpDLX.dll COM object with .NET Windows (General questions)

by Bill, Wednesday, September 13, 2006, 23:31 (6649 days ago)

I'm having problems trying to set the LicenceKey and Certificate properties. I'm using VS 2002 with C#. I have references added to my project for Certificate Management library and COM Ftp DELUXE Client Component. I instantiate IwodFtpDLXCom (variable called ftp1) but I don't see the LicenceKey property through ftp1. I'm also not sure what to instantiate for the certificate so that I can set ftp1.Certificate. Are there any sample apps for using the non-.NET COM object in .NET? I'm just getting started so I'm sure I will have other things I'm not sure how to do once I get past the License and Certificate settings. We have been using this product for an Access application successfully for a year but now want to use the COM object in a .NET Windows Service. I appreciated any help anyone could provide. Thanks. Bill

Re: Use of wodFtpDLX.dll COM object with .NET Wind

by wodDrazen, Thursday, September 14, 2006, 00:24 (6649 days ago) @ Bill

Hi Bill,


You are probably still using DEMO version of the Component.
In order to get licensed version of the same, please go to

http://www.weonlydo.com/index.asp?update=1

This is automated process. Make sure you use same email address that
is registered with our system, one you used when you have purchased
the product.

As for connecting to server with private key in VS C# I have to see with our main programmer how you can done this.You will be probably inform with a solution.

Hope I helped.


Regards,
Drazen

Re: Use of wodFtpDLX.dll COM object with .NET Wind

by Bill, Thursday, September 14, 2006, 03:42 (6649 days ago) @ wodDrazen

Thanks for the reply Drazen. I am almost positive I am using the licensed version because it has been in production for about a year in an Access application and the LicenseKey and certificate are being set in that application with no warnings or messages when run. I am adding a reference to the same components in my .NET Windows service. Is there a way to tell (like looking at the size of the wodFtpDLX.dll) if I am for sure linking to the licensed dll? Also, is there a sample app like what we got when we purchased the component that shows how to use wodFtpDlx from a .NET Windows application?

Thanks again,

Bill

Re: Use of wodFtpDLX.dll COM object with .NET Wind

by wodDrazen, Thursday, September 14, 2006, 08:55 (6649 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

Re: Use of wodFtpDLX.dll COM object with .NET Wind

by Bill, Thursday, September 14, 2006, 17:55 (6648 days ago) @ wodDrazen

You were right, I was using the Demo version. Some how the Access application must have been using the licensed version since I had access to the LicenseKey but the .NET application wasn't. Besides uninstalling an installing the licensed dlls I had to also copy them to WindowsSystem32 which had the demo version. After that it worked.

Thanks for your help and the code sample.

Bill