This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem authenticating FileZilla FTPS Server in implicit mode using apache ftps client

 
Prasad Rajan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am trying a sample program to understand the FTPS authentication mechanism with a) Implicit and b) Explicit mode

A snippet of the program:

FTPSClient ftps;
if (protocol.equals("true")) {
ftps = new FTPSClient(true); //for implicit connection
} else if (protocol.equals("false")) {
ftps = new FTPSClient(false); // for explicit connection

With the explicit mode, I am giving the username and password through and then trying to connect and the authentication succeeds which is expected.
But with the implicit mode too, only on giving the username and password the authentication succeeds which should not be the case (As per my understanding: with implicit mode, A client is immediately expected to challenge the FTPS server with a TLS/SSL ClientHello message. If such a message is not received by the FTPS server, the server should drop the connection).

Am I missing something in the client code or in the server configuration?

Am stuck!!

Guys!! Please help me with this issue
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic