License key missing. (wodSFTP / wodSFTP.NET / wodSFTPdll)
We've purchased and installed a licensed version of SFTP. It's been running great until 2 days ago. While manually running a simple directory listing to verify the connection, a "License key missing.You can not use this component in design environment." error was displayed. The license key is in the registry and the following code is being used:
set Sftp = Server.CreateObject("WeOnlyDo.wodSFTPCom.1")
Sftp.Hostname = "ftp.xxx.com"
Sftp.Login = userid
Sftp.Password = password
Sftp.RemotePath = "/in"
Sftp.Blocking = 1
Sftp.Connect
I tried adding "Sftp.LicenseKey = ..." but that generated the error: "Object doesn't support this property or method: 'LicenseKey'"
Thanks, Bill
License key missing.
Bill,
you must set the LicenseKey property before calling connect, that was a good step.
However, it could be you still have installed DEMO version of the component, which doesn't have this property. Can you uninstall it (make sure DLL/OCX is not locked at that time) and install licensed version, one you received after order was placed?
Regards,
Kreso