Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in FAQ: edtFTPj/PRO by (48.2k points)
closed by
SSLFTPClient freezes when a single file transfer is complete. 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. This causes the client to wait for a signal that never arrives. The client can be prevented from waiting by setting DISABLE_CONTROL_WAIT_ON_ CLOSE:

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