Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.9k views
in FAQ: edtFTPj/PRO by (46.6k 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.7k 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) :
...