Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.6k views
in Java FTP by (420 points)
hi experts,

i am trying to connect to a ftp-server with tls and get an

" com.enterprisedt.net.ftp.FTPException: Fallback to [C] "

what

2 Answers

0 votes
by (162k points)
This error is being produced by the server. It would appear that the FTP server you are connecting to does not support PROT P (private data channels).

You could try constructing SSLFTPClient with the following config flag supplied:

SSLFTPClient.ConfigFlags.START_WITH_CLEAR_DATA_CHANNELS

This means data channels aren't encrypted, only control (command) channels.

Presumably later versions of PureFTPD do support PROT P

hi experts,

i am trying to connect to a ftp-server with tls and get an

" com.enterprisedt.net.ftp.FTPException: Fallback to [C] "

what
0 votes
by (420 points)
hi,

shortly after posting my question i found the solution by myself by finding
out, what the responsecode 534 means...
i put the command, where i set the "protp" property in a try-catch block
and so i think the app should also be able to handle transfers, when the
server is upgraded to encrypt data too.

thanks anyway!

yves

Categories

...