• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

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

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic