smart ftp library trial license error

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
glenndavid
Posts: 5
Joined: Tue May 31, 2011 12:52 am

smart ftp library trial license error

Post by glenndavid » Tue May 31, 2011 1:50 am

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 "/"

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: smart ftp library trial license error

Post by mb » Tue May 31, 2011 1:53 am

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

glenndavid
Posts: 5
Joined: Tue May 31, 2011 12:52 am

Re: smart ftp library trial license error

Post by glenndavid » Tue May 31, 2011 10:39 pm

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

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: smart ftp library trial license error

Post by mb » Wed Jun 01, 2011 12:58 am

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
Last edited by mb on Wed Jun 01, 2011 1:04 am, edited 1 time in total.

glenndavid
Posts: 5
Joined: Tue May 31, 2011 12:52 am

Re: smart ftp library trial license error

Post by glenndavid » Wed Jun 01, 2011 10:17 pm

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

glenndavid
Posts: 5
Joined: Tue May 31, 2011 12:52 am

Re: smart ftp library trial license error

Post by glenndavid » Thu Jun 09, 2011 12:00 am

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

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: smart ftp library trial license error

Post by mb » Thu Jun 09, 2011 12:04 am

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?
Last edited by mb on Thu Jun 09, 2011 12:05 am, edited 1 time in total.

glenndavid
Posts: 5
Joined: Tue May 31, 2011 12:52 am

Re: smart ftp library trial license error

Post by glenndavid » Thu Jun 09, 2011 1:36 am

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

mb
Posts: 12029
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: smart ftp library trial license error

Post by mb » Thu Jun 09, 2011 1:42 am

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.

Post Reply