If you mean sftp (ftp based on ssh) then check out jsch from jcraft. If you mean ftps (ftp over ssl) then there is a commercial api from jscape (www.jscape.com), but I do not know of any free ones.
Joined: Mar 02, 2006
Also, you can not use either of these with a server that has only an ftp server. The machine you wish to communicate with, must also have ssh installed for sftp or a SecureFTP server installed for ftps.