Knowledgebase
Using FTPS with IBM JDK
Posted by Van Glass on 26 July 2007 03:50 PM
The IBM JDK uses different default encryption providers than the Sun JDK. Therefore when using the FTPS (FTP over SSL) protocol it may be necessary to change your provider in order to avoid any runtime errors.

To instruct the Ftps class to use the IBM providers please use the following code prior to establishing a connection.

ftps.setContextProtocolProvider("IBMJSSE");
ftps.setContextAlgorithmProvider("IBMJSSE");
ftps.setContextAlgorithm("IbmX509");



(141 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion