Does anybody know about any non-commercial API that allows a J2EE application to FTP files securely? There is sun's ftp but it is not secureFTP / sftp. Please let me know ASAP. Thanks a bunch in advance.
Why not just use application security, the security support built into your application server and SSL?
See http://www.hannonhill.com/en/html/lite/internet/best_practices/software_dev/java_ftp_sftp.html which describes using Java FTP Client Library (http://www.enterprisedt.com/downloads/ftp.html) and J2SSH (http://www.sshtools.com).
Bill, thanks for the reply. I guess I can use the security built into my application if I am planning to FTP it within our intranet. However that's not the case, I am intending to send it out to some remote directory outside our intranet. Hope this is making sense.
I checked the links which you provided, they seem to be commercial software. I was looking for something more of an open source.
I'll start experimenting with SFTP in the next days/weeks, and I hope this library helps. It seems that the project evolved into something commercial ("www.sshtools.com").