Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in FAQ: edtFTPj/PRO by (47.9k points)
closed by
Client hangs after a file transfer completes. How to deal with it?
closed with the note: Answered

1 Answer

0 votes
by (20.4k points)
Best answer

This is generally because the FTP server has not correctly responded to the standard SSL/TLS closure exchange sequence. In this case, the server waits for more data that never arrives, as it does not realize it has entered the closure exchange sequence. The server can be prevented from waiting by setting DISABLE_DATA_SSL_CLOSURE:

SSLFTPClient ftp = new SSLFTPClient();
ftp.setConfigFlags(SSLFTPClient.ConfigFlags.DISABLE_DATA_SSL_CLOSURE) :