Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Securing FTPS connection

843811Feb 8 2007 — edited Mar 26 2007
I have been asked to secure an existing FTP client application using FTPS, and have been searching the Web for the last 3 hours for a single example on how to do this. The application uses the Apache commons Ftp library, which does not natively support Ftps. However, it looks like what I need to do is extend the SSLSocketFactory class and pass and instance of it to the Ftp's setSocketFactory() method.

I do not know what the methodology for extending the SSL SocketFactory would be ( beyond the obvious ).

Does anyone have an example or a URL that would lead me to information that I could use to accomplish my goal ( connect to FTPS server ).

Oh, one thread mentions JSSE and SSLSocketFactory, but I did not find any tutorials for this via google.

Thank You,

John Gooch
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2007
Added on Feb 8 2007
3 comments
366 views