The AUTH verb allows the client to initiate SSL/TLS negotiation on an existing clear-text socket.
However, when the FTP.Server class is used with a ServerSocket, the negotiation fails and clients report unexpected/illegal negotiation packets.
FileZilla:
Error: GnuTLS error -19: An unexpected TLS handshake packet was received.
FTPRush:
error:14092072:SSL routines:ssl3_get_server_hello:bad message type
FlashFXP:
SSL error:141A10F4:SSL routines:ossl_statem_client_read_transition:unexpected message