sftplib stopped working 5/17

I am using sftplib in a production environment to ftp orders over ssl from the website to a mainframe. sftplib has worked great until saturday may 17 when it instantly stopped working. I have restarted com and restarted the server, however I still unable to ftp files using sftplib v1.5.13.6. I have manually connected to the destination using filezilla to ensure there is not a networking issue.

A normal transaction looks like this:

[20080517 13:59:32] SmartFTP FTP Library v1.5.13.6
[20080517 13:59:32] Resolving host name "******.*******.***********.***"
[20080517 13:59:32] Connecting to ***.***.**.** Port: 21
[20080517 13:59:33] Connected to ******.*******.***********.***.
[20080517 13:59:33] 220 SecureLink FTP Proxy (Version 3.0.2.365) ready.
[20080517 13:59:33] AUTH TLS
[20080517 13:59:33] 234 AUTH TLS OK. TLS enabled and waiting for negotiation.
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] Session Cipher: 128 bit RC4
[20080517 13:59:33] TLS encrypted session established.
[20080517 13:59:33] PBSZ 0
[20080517 13:59:33] 200 PBSZ OK.
[20080517 13:59:33] USER *********
[20080517 13:59:33] 331 Password required for *********.
[20080517 13:59:33] PASS (hidden)
[20080517 13:59:33] 230 User ********* logged in. Session ID 279239993
[20080517 13:59:33] SYST
[20080517 13:59:33] 215 UNIX Type L8
[20080517 13:59:33] Detected Server Type: UNIX
[20080517 13:59:33] FEAT
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] TYPE I
[20080517 13:59:33] 200 Type set to I.
[20080517 13:59:33] REST 0
[20080517 13:59:33] 502 Command not supported.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********" is current directory.
[20080517 13:59:33] CWD /home/*********/tovan/edi
[20080517 13:59:33] 250 CWD command successful.
[20080517 13:59:33] PWD
[20080517 13:59:33] 257 "/home/*********/tovan/edi" is current directory.
[20080517 13:59:33] PROT P
[20080517 13:59:33] 200 PROT P successful. Data channel will be protected.
[20080517 13:59:33] PASV
[20080517 13:59:33] 227 Entering Passive Mode (150,105,62,17,170,27)
[20080517 13:59:33] Opening data connection to 150.105.62.17 Port: 43547
[20080517 13:59:33] STOR 005245609.edi
[20080517 13:59:33] Connected. Exchanging encryption keys...
[20080517 13:59:33] 150 Opening BINARY mode data connection.
[20080517 13:59:34] Session Cipher: 128 bit RC4
[20080517 13:59:34] TLS encrypted session established.
[20080517 13:59:34] 598 bytes transferred. (1.28 KB/s) (453 ms)
[20080517 13:59:35] 226 Transfer complete.
[20080517 13:59:35] QUIT
[20080517 13:59:35] 221 You have transferred 598 bytes in 1 file(s).
[20080517 13:59:35] Client closed the connection.

However, beginning the 18th my log files look like this:

[20080519 16:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 17:44:30] SmartFTP FTP Library v1.5.13.6
[20080519 18:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 19:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 20:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:14:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:29:30] SmartFTP FTP Library v1.5.13.6
[20080519 21:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 21:59:29] SmartFTP FTP Library v1.5.13.6
[20080519 22:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:44:29] SmartFTP FTP Library v1.5.13.6
[20080519 23:59:30] SmartFTP FTP Library v1.5.13.6
[20080520 00:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 00:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:29:28] SmartFTP FTP Library v1.5.13.6
[20080520 01:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 01:59:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:14:29] SmartFTP FTP Library v1.5.13.6
[20080520 02:29:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:44:29] SmartFTP FTP Library v1.5.13.6
[20080520 03:59:30] SmartFTP FTP Library v1.5.13.6

No files are being transferred.

You are using a version of the component that is newer than your maintenance expiration date. To fix the problem renew the maintenance of the ftp library component at:
https://www.smartftp.com/purchase/renew.php

Regards,
Mat

Hello stewart ..

Yes 17 is the ftpErrorLicense error. What you can do is install the latest version of the FTP Library from:
https://www.smartftp.com/ftplib/download
It will work for another 30 days without a license.

Regards,
Mat

Thanks, that will be a sufficient time to get a renewal through the channels.
The new trial worked and I have got an approval to renew.

Just a hint to you guys however. If LoadLicenseKeyFile() is called with a license which is incompatible with that version of the library, an error should be thrown and logged. If no license is supplied, then default to the trial version. It was quite discouraging to find the library to abruptly quit like that without any errors logged. If I had known at the time that the license was no longer valid I would have installed the older version and got approval for an upgrade, but a month after moving the servers and upgrading the library version it suddenly stopped working and has taken half of my busy work day to fix.

SFTPLib has worked great for a little over a year now, but because of this issue I may look into alternative solutions as who know what else might break and not be logged, we cannot afford incidents like this to happen in a production environment.

The LoadLicenseKeyFile function returns false if the license key cannot be loaded or is invalid.

The Connect function returns ftpErrorLicense if the component is not licensed. Did you check the return value?

You broke your application by upgrading to a version of our product you don't have a license for. Also you forgot to check the return values of the above functions. I don't think the component is to blame for your incident.

Regards,
Mat

The LoadLicenseKeyFile function returns false if the license key cannot be loaded or is invalid.

The Connect function returns ftpErrorLicense if the component is not licensed. Did you check the return value?

You broke your application by upgrading to a version of our product you don't have a license for. Also you forgot to check the return values of the above functions. I don't think the component is to blame for your incident.

Regards,
Mat
Maybe if the help file was not in a chm file or was available online I could see what values are supposed to be returned from my linux workstation. Or if archived versions of the software I paid for were available I could use a compatible version.

I tried to give you a simple tip, and you got pissed off. I have already notified my client that I will look for alternate solutions. The library worked 100% for just over a year, I thank you for that, but if the log file gave more than just a library version number it might be a bit more helpful in debugging the issue. Your attitude certainly is not worth $300/yr.