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