Is there a way I can implement a secure FTP with org.apache.commons.net.ftp.FTPClient?
org.apache.commons.net.ftp.FTPClient
If not, what are other options for Java?
First, make sure you understand a difference between FTPS (Secure FTP) and SFTP: FTPS versus SFTP versus SCP
If you need FTPS (aka Secure FTP or FTP over TLS/SSL), you can use FTPSClient class from Apache Commons library instead of FTPClient.
FTPSClient
FTPClient
If you need SFTP (over SSH), you need a different library. See: How to retrieve a file from a server via SFTP? or Java SFTP Transfer Library.
1.4m articles
1.4m replys
5 comments
56.9k users