1

There is already a question on this:
Secure FTP with org.apache.commons.net.ftp.FTPClient

But there is no accepted answer given.

Community
  • 1
  • 1
Adon Smith
  • 1,849
  • 7
  • 19
  • 19
  • Welcome to Stack Overflow! Non-acceptance of answer doesn't mean the answers given are not useful. Try them and see if any of them work. – Bharadwaj Srigiriraju Jan 12 '15 at 11:06
  • possible duplicate of [Secure FTP with org.apache.commons.net.ftp.FTPClient;](http://stackoverflow.com/questions/12803942/secure-ftp-with-org-apache-commons-net-ftp-ftpclient) – Jeroen Kransen Jan 12 '15 at 11:20

1 Answers1

4

First, make sure you understand a difference between FTPS (Secure FTP) and SFTP:
FTPS versus SFTP versus SCP

If you need FTPS (Secure FTP), follow advices given in the question you pointed to yourself:
Secure FTP with org.apache.commons.net.ftp.FTPClient

If you need SFTP, see:
How to retrieve a file from a server via SFTP?
Java SFTP Transfer Library

Community
  • 1
  • 1
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992