I'm having a strange problem where the SFTP library crashes cscript.exe on obj.Connect(). This only occurs when I read the license key from a file (LoadLicenseKeyFile). If I use the LoadLicenseKeyData method from the example:
If obj.LoadLicenseKeyData(strKey) Then
It always drops to the failed condition and the log file displays (I believe it only continuesbecause the DLL has not expired yet):
20090811 14:54:56.922 Thread(6860) Log file opened. LogLevel=7
20090811 14:54:56.926 Thread(6860) CLicenseKey::LoadData()
20090811 14:54:56.926 Thread(6860) CLicenseKey::LoadDataText()
20090811 14:54:56.926 Thread(6860) CLicenseKey::LoadDataXML()
20090811 14:54:56.954 Thread(6860) Log file closed.
The LoadLicenseKeyFile method does, however, successfully validates eventhough it causes the crash of Cscript.exe.