How to use the license file

edtFTPj/PRO uses a license key to control access to the key classes. All key classes check that a valid license is available, otherwise an exception is thrown.

The license is supplied in a license.jar file, and must be in the CLASSPATH of the application using edtFTPj/PRO.  The trial version includes a license.jar file with an expiry date at least 30 days in the future.

You will receive a license.jar containing a permanent license when you purchase the product.  Be careful to ensure that the trial license.jar is not in your CLASSPATH once you are using a production license. If you use a trial license.jar after its expiry date, an exception will be thrown indicating that the license has expired.

In rare situations (e.g. applets and custom class loaders) edtFTPj/PRO may have difficulties loading the license.jar. In these cases try combining the two jars into one jar. You can do this by extracting them in the same directory using "jar xf", and then creating the merged jar file using "jar cf".