Problem with error 17 in FTP Library
Posted 03 October 2005 - 06:51 AM
I can send you our script if you give me an email address.
Posted 03 October 2005 - 05:08 PM
Please send the script to sales attt smartftp.com or to the email address for premium support.
Posted 05 October 2005 - 12:08 PM
It would nice to have a property that shows if we using the license or trial period, so we can be sure that the object not stops working.
Did you find anything wrong in the script?
Posted 05 October 2005 - 01:21 PM
Hmm. I haven't received the script. Maybe it got filtered by the AV software. Please send it as a text file.
If the LoadLicenseKeyFromFile or LoadLicenseKeyFromData returns true then you can be sure it works. A while ago (3+ months) there was a bug but it has been fixed. Try to set the date of your computer 1 year into the future and see if it still works.
Posted 23 October 2005 - 11:16 AM
Today my programs stopped running again. Error 17. Probably because the last trial version was outdated. I can load my license and it always says success, but I get error 17 anyway.
Please help me with a solution. Now I can't trust any programs built on the library.
Could there be any problem with the Swedish character in my name in the license file (H
Posted 23 October 2005 - 02:06 PM
This is bad news . I've tested your license key with source code you sent a while ago and set the system date 1 year into the future and it was working.
The following is the code being used for the verification:
If LoadLicenseKeyData returns VARIANT_TRUE that implies IsLicensed() returned true. If IsLicensed() key returns true, IsTrialOrLicensed() returns true as well. And the IsTrialOrLicensed() is the function we call in the Connet() function.
Posted 23 October 2005 - 04:49 PM
The I tried to paste the LoadLicense code into my own programs, so I run the LoadLicence every time before I connect, and then everything works!
Is it supposed to be that way? If it is, it gives all programs a lot of extra code..
I have tested this both on Windows Server 2003 and Windows XP SP2.
Posted 24 October 2005 - 05:39 AM
Of course you need to call LoadLicenseKeyFile or LoadLicenseKeyData before you call the Connect() function. How else would the FTP library know about your license?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users