smart ftp library trial license error

I am testing SmartFTP for an EDI project and I find that the latest version 2.0.118 fails to connect and throws error 17. The previous version does not have this issue. Below are logs from Global and FTPConnectionSTA.


Global Log:
-------------------------------------------------------------------------
20110531 13:04:13.277 Thread(5724) Log file opened. LogLevel=7
20110531 13:04:13.277 Thread(5724) Microsoft Windows 6.1.7600
20110531 13:04:13.277 Thread(5724) sfFTPLib 2.0.118.0 (2011-05-18 12:42:09)
20110531 13:04:13.277 Thread(5724) Username: glennd
20110531 13:04:13.278 Thread(5724) Set LogLevel to 7.
20110531 13:04:13.284 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:13.284 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:13.287 Thread(5724) CLicenseKey::Verify()
20110531 13:04:13.291 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:13.749 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:13.750 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:13.750 Thread(5724) CLicenseKey::Verify()
20110531 13:04:13.751 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:13.751 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:13.751 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:13.751 Thread(5724) CLicenseKey::Verify()
20110531 13:04:13.751 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:15.932 Thread(5724) Log file closed.
20110531 13:04:15.934 Thread(5724) Log file opened. LogLevel=7
20110531 13:04:15.934 Thread(5724) Microsoft Windows 6.1.7600
20110531 13:04:15.934 Thread(5724) sfFTPLib 2.0.118.0 (2011-05-18 12:42:09)
20110531 13:04:15.934 Thread(5724) Username: glennd
20110531 13:04:15.934 Thread(5724) Set LogLevel to 7.
20110531 13:04:15.936 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:15.936 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:15.937 Thread(5724) CLicenseKey::Verify()
20110531 13:04:15.937 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:15.938 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:15.938 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:15.938 Thread(5724) CLicenseKey::Verify()
20110531 13:04:15.939 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:21.156 Thread(5724) Log file closed.
20110531 13:04:21.159 Thread(5724) Log file opened. LogLevel=7
20110531 13:04:21.159 Thread(5724) Microsoft Windows 6.1.7600
20110531 13:04:21.159 Thread(5724) sfFTPLib 2.0.118.0 (2011-05-18 12:42:09)
20110531 13:04:21.159 Thread(5724) Username: glennd
20110531 13:04:21.159 Thread(5724) Set LogLevel to 7.
20110531 13:04:21.161 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:21.161 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:21.162 Thread(5724) CLicenseKey::Verify()
20110531 13:04:21.162 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:21.163 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:21.163 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:21.163 Thread(5724) CLicenseKey::Verify()
20110531 13:04:21.164 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:24.251 Thread(5724) Log file closed.
20110531 13:04:24.254 Thread(5724) Log file opened. LogLevel=7
20110531 13:04:24.254 Thread(5724) Microsoft Windows 6.1.7600
20110531 13:04:24.254 Thread(5724) sfFTPLib 2.0.118.0 (2011-05-18 12:42:09)
20110531 13:04:24.254 Thread(5724) Username: glennd
20110531 13:04:24.254 Thread(5724) Set LogLevel to 7.
20110531 13:04:24.256 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:24.256 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:24.257 Thread(5724) CLicenseKey::Verify()
20110531 13:04:24.258 Thread(5724) CLicenseKey::Verify() Verified.
20110531 13:04:24.258 Thread(5724) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:04:24.258 Thread(5724) CLicenseKey::LoadXML()
20110531 13:04:24.258 Thread(5724) CLicenseKey::Verify()
20110531 13:04:24.259 Thread(5724) CLicenseKey::Verify() Verified.


FTPConnectionSTA Log:
-------------------------------------------------------------------------
[20110531 01:04:13] SmartFTP FTP Library 2.0.118.0
[20110531 01:04:15] SmartFTP FTP Library 2.0.118.0
[20110531 01:04:21] SmartFTP FTP Library 2.0.118.0
[20110531 01:04:24] SmartFTP FTP Library 2.0.118.0



Code:
-------------------------------------------------------------------------
CREATE(G);
G.LogFile := 'C:\Documents and Settings\glennd\Desktop\Globallog1.log';
G.LogLevel := 7;

CREATE(C);
C.LogFile.File := 'C:\Documents and Settings\glennd\Desktop\ConnectLog.log';
C.Host := '222.154.XXX.XXX';
C.Username := 'XXXXXX';
C.Password := 'XXXXXXXX';
C.Connect;
C.Disconnect;
C.Connect;


So I un-installed version 2.0.118 and re-installed 2.0.117 and I find that it is working.


Global Log:
------------------------------------------------------
20110531 13:31:04.868 Thread(6192) Log file opened. LogLevel=7
20110531 13:31:04.868 Thread(6192) Microsoft Windows 6.1.7600
20110531 13:31:04.868 Thread(6192) sfFTPLib 2.0.117.0 (2011-04-16 03:13:49)
20110531 13:31:04.869 Thread(6192) Username: glennd
20110531 13:31:04.869 Thread(6192) Set LogLevel to 7.
20110531 13:31:04.878 Thread(6192) CLicenseKey::LoadFile(C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml)
20110531 13:31:04.879 Thread(6192) CLicenseKey::LoadXML()
20110531 13:31:04.883 Thread(6192) CLicenseKey::Verify()
20110531 13:31:04.887 Thread(6192) CLicenseKey::Verify() Verified.

Connection Log:
-------------------------------------------------------------
[20110531 01:31:04] SmartFTP FTP Library 2.0.117.0
[20110531 01:31:04] Resolving host name "222.154.XXX.XXX"
[20110531 01:31:04] Connecting to 222.154.XXX.XXX Port: 21
[20110531 01:31:04] Connected to 222.154.XXX.XXX.
[20110531 01:31:04] 220 (vsFTPd 2.0.5)
[20110531 01:31:04] USER XXXXXXXXX
[20110531 01:31:04] 331 Please specify the password.
[20110531 01:31:04] PASS XXXXXXXXXXXXX
[20110531 01:31:04] 230 Login successful.
[20110531 01:31:04] SYST
[20110531 01:31:04] 215 UNIX Type: L8
[20110531 01:31:04] Detected Server Type: UNIX
[20110531 01:31:04] RTT: 13.603 ms
[20110531 01:31:04] FEAT
[20110531 01:31:04] 211-Features:
[20110531 01:31:04] EPRT
[20110531 01:31:05] EPSV
[20110531 01:31:05] MDTM
[20110531 01:31:05] PASV
[20110531 01:31:05] REST STREAM
[20110531 01:31:05] SIZE
[20110531 01:31:05] TVFS
[20110531 01:31:05] 211 End
[20110531 01:31:05] PWD
[20110531 01:31:05] 257 "/"
[20110531 01:31:05] QUIT
[20110531 01:31:05] 221 Goodbye.
[20110531 01:31:05] Client closed the connection.
[20110531 01:31:05] Resolving host name "222.154.XXX.XXX"
[20110531 01:31:05] Connecting to 222.154.XXX.XXX Port: 21
[20110531 01:31:05] Connected to 222.154.XXX.XXX.
[20110531 01:31:05] 220 (vsFTPd 2.0.5)
[20110531 01:31:05] USER XXXXXXXXXXXXX
[20110531 01:31:05] 331 Please specify the password.
[20110531 01:31:05] PASS XXXXXXXXXXXXXX
[20110531 01:31:05] 230 Login successful.
[20110531 01:31:05] SYST
[20110531 01:31:05] 215 UNIX Type: L8
[20110531 01:31:05] Detected Server Type: UNIX
[20110531 01:31:05] RTT: 12.658 ms
[20110531 01:31:05] FEAT
[20110531 01:31:05] 211-Features:
[20110531 01:31:05] EPRT
[20110531 01:31:05] EPSV
[20110531 01:31:05] MDTM
[20110531 01:31:05] PASV
[20110531 01:31:05] REST STREAM
[20110531 01:31:05] SIZE
[20110531 01:31:05] TVFS
[20110531 01:31:05] 211 End
[20110531 01:31:05] PWD
[20110531 01:31:05] 257 "/"

Delete the license.xml:
C:\Users\glennd\AppData\Roaming\SmartFTP\FTP Library\License.xml

Then try again. If it fails, check the trial expiration date in the License.xml

If the trial is not expired, please email the License.xml to us.

Thank you
Mat

Thanks for reply. I have deleted the license.xml file but now a new error comes up. please see log below.

CLicenseKey::LoadFile(M:\Documents and Settings\administrator.ADLOS.000\Application Data\SmartFTP\FTP Library\License.xml)
20110531 23:04:25.530 Thread(6792) CLicenseKey::LoadXML()
20110531 23:04:25.530 Thread(6792) CLicenseKey::LoadXML() IXMLDOMDocument->load failed
20110531 23:04:46.499 Thread(6792) Exception _com_error Code: 0x80004005 in 'AutoLoadKey.cpp' Line: 43
20110531 23:04:46.499 Thread(6792) CLicenseKey::LoadFile(M:\Documents and Settings\administrator.ADLOS.000\Application Data\SmartFTP\FTP Library\License.xml)
20110531 23:04:46.499 Thread(6792) CLicenseKey::LoadXML()
20110531 23:04:46.499 Thread(6792) CLicenseKey::LoadXML() IXMLDOMDocument->load failed

Please try it again now. The license key is now returned even if it has already expired. Previously no content was returned.

The component automatically gets the trial license key from our server. If you have no internet access or if the request is blocked, use the following link to manually get the license key:
https://www.smartftp.com/customer

It's working now. Thanks for excellent support. If everything irons out, my customer should be purchasing licences soon.

The current version trial has just expired. When are you coming out with a new one?

The trial version is valid for 30 days. After that you need to purchase a license. What's the license key id of your trial license?

Oh I see. We're not done testing yet. Id is 400137676.

I have extended your trial (expires 1. July). Delete the License key file in the %appdata%\FTPLib\ folder and the component will automatically get the new key.