Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
470 views
in Java FTP by (150 points)
recategorized by
I am currently using version 3.9.0 of edtftpj-pro and am having a problem connecting to an FTPS site that has a SHA-2 cert.  I was able to fix the problem by exploding the jar and editing the CryptixEDT.properties file.  But, I would like to be able to use the jar intact.

Is there a way to set cryptix properties outside the jar?

1 Answer

0 votes
by (51.1k points)
selected by
 
Best answer
Try creating the following directory structure:
   mydirectory
      /com
         /enterprisedt
            /cryptix
               /CryptixEDT.properties
placing your cryptix properties at the bottom level, as shown.
 
Then add mydirectory to your classpath before edtftpjpro.jar and run your app to see if it picks up your modified properties file.  I believe it should as classes earlier in the classpath take precedence over classes later in the classpath.  If that works then you can zip up mydirectory into mydirectory.zip, rename it to mydirectory.jar and place that in your classpath.
 
by (150 points)
That worked, thanks.

Categories

...