Page 1 of 1

SmartFTP Library version 2 on Windows 7

Posted: Tue Dec 09, 2014 10:36 pm
by donj91711
I'm using SmartFTP library version 2 on an XP machine.
 
It has been working great for a few years. I need to upgrade to Windows 7 now, but it won't connect. The code:
 
Public objGlobal As sfFTPLib.Global
Public objFTP As sfFTPLib.FTPConnectionSTA
 
Set objGlobal = CreateObject("sfFTPLib.Global")   
...license...
Set objFTP = CreateObject("sfFTPLib.FTPConnectionSTA")
...host, username, password, etc...
ret = objFTP.Connect
It returns error 18 (ftpErrorSSL)
 
The log returns:
 
[20141209 22:15:16] AUTH TLS
[20141209 22:15:16] 234 AUTH command ok; starting SSL connection.
[20141209 22:15:16] SSL: Error (Error=0x80090308).
[20141209 22:15:16] The token supplied to the function is invalid
[20141209 22:15:16] Client closed the connection.
 
It continues to work fine on the XP machine.
Do I have to upgrade to the newer version of SmartFTP library or will version 2 work on Windows 7?
 

Re: SmartFTP Library version 2 on Windows 7

Posted: Tue Dec 09, 2014 10:46 pm
by mb
Version 2.x of the FTP Library has been deprecated and is no longer supported.