what is difference between org.apache.commons.net.ftp.FTPClient and org.apache.commons.net.ftp.FTPSClient in java?
Asked
Active
Viewed 1,850 times
-2

Martin Prikryl
- 188,800
- 56
- 490
- 992

Rahul Ghadage
- 153
- 1
- 4
- 12
-
FTP, FTPS(ecured)? – VPK Dec 21 '17 at 10:03
-
I copy-pasted your question title on ddg, and this question wasn't even the first search result :) Which means that just typing it on internet would've gotten you the answer :( – Turtle Dec 21 '17 at 10:10
2 Answers
1
The FTPClient
is used for plain FTP, the FTPSClient
for FTP over SSL, as you could have read in the JavaDoc.

Robby Cornelissen
- 91,784
- 22
- 134
- 156
1
FTPS is an alternate solution comes the FTP over SSL, or FTPS. A set of security extensions were added to the old FTP so that it allows encryption on both command and data connections. That is actually greater than it sounds, since SSL connection is time-consuming and it can be a heavy job to negotiate it twice. The certificate is installed on the server, so all you need to do is configure your preferred client.

ahmed sdiri
- 40
- 5