Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.7k views
in Java FTP by (120 points)
Hi,

when closing a connection between EDTftpj.pro and a FileZilla server I always get the following error:

com.enterprisedt.net.puretls.SSLPrematureCloseException: Short read

I found out that I should set the following flags and did it as told:
ftp.setConfigFlags(SSLFTPClient.ConfigFlags.DISABLE_SSL_CLOSURE | SSLFTPClient.ConfigFlags.DISABLE_WAIT_ON_CLOSE);

But this dit not solve my problem.
Has anyone got a suggestion?

1 Answer

0 votes
by (51.6k points)
when closing a connection between EDTftpj.pro and a FileZilla server I always get the following error


FileZilla Server does not conform to the FTP protocol when an FTP session is being shut down. Instead of replying with the appropriate response code, it simple disconnects. This is what causes the exception you're seeing. You can safely ignore the exception until FileZilla Server is fixed.

- Hans (EDT)

Categories

...