SmartFTP Library version 2 on Windows 7

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
donj91711
Posts: 34
Joined: Fri Jul 30, 2010 7:01 pm

SmartFTP Library version 2 on Windows 7

Post by donj91711 » Tue Dec 09, 2014 10:36 pm

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?
 

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

Re: SmartFTP Library version 2 on Windows 7

Post by mb » Tue Dec 09, 2014 10:46 pm

Version 2.x of the FTP Library has been deprecated and is no longer supported.

Post Reply