Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
168 views
in CompleteFTP by (270 points)

I have been using edtFTPj/PRO since 2008. Our license file indicates:

# production licence
# expires 31 Dec 9999

I typically upgrade when I see a new release is out. I had been using 5.2.4 with no problem. When I upgrade to 5.2.5 I get:

Exception in thread "main" java.lang.RuntimeException: The licence has expired. Expiry date: 20 Jul 2018
        at com.enterprisedt.util.license.LicensePropertiesBase.checkLicence(LicensePropertiesBase.java:222)
        at com.enterprisedt.net.ftp.ssh.SCPClient.<init>(SCPClient.java:268)
        at com.enterprisedt.net.ftp.ssh.SSHFTPClient.<init>(SSHFTPClient.java:525)
        at com.enterprisedt.net.ftp.ssh.SSHFTPClient.getHostPublicKey(SSHFTPClient.java:710)

When I roll back to the 5.2.4 jar the exception goes away. A similar exception is thrown when I instantiate SecureFileTransferClient in a different program:

Caused by: java.lang.RuntimeException: The licence has expired. Expiry date: 20 Jul 2018
at com.enterprisedt.util.license.LicensePropertiesBase.checkLicence(LicensePropertiesBase.java:222)
at com.enterprisedt.net.ftp.ssh.SCPClient.<init>(SCPClient.java:268)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.<init>(SSHFTPClient.java:525)
at com.enterprisedt.net.ftp.async.internal.SecureConnectionContext.<init>(SecureConnectionContext.java:126)
at com.enterprisedt.net.ftp.SecureFileTransferClient.<init>(SecureFileTransferClient.java:179)

I am reverting to the 5.2.4 jar for now. I was curious if anyone else was encountering this. I am happy to provide source for the program throwing the first exception.

1 Answer

0 votes
by (154k points)
 
Best answer
This is because you are downloading the trial and using it with a production license. The trial jar is only for trialing the software. Previously, it would still work with a production license, but now we enforce it.

The solution is to download the production jar file, which is available to anyone with a current maintenance agreement. If you don't have a current maintenance agreement, you have never been permitted to download updates and use them.
by (270 points)
Thanks for the quick reply. I thought the edtftpj-pro.jar was the same for trial vs production and it was the license.jar file that made the edtftpj-pro jar legit. I will stick with the 5.2.4 jar.
by (154k points)
If you have a look at your original license you may find you are entitled to use the latest jar. We used to sell a 'lifetime' license which gave unlimited maintenance.

Categories

...