Occasionally, we find that the SFTP Server may miss the Disconnect request from Client.
On client side, the Disconnect command ended normally without any exception and so was deemed successful. However, on the Server, there was no sign of any Disconnect request. As such, the session remain active and sometimes this un-closed session will keep locking up a half-uploaded file.
This happens more often when the client is using wifi to communicate with the server and it seems that corrupted data may be the root cause of the problem. However, do wish to know if there is anyway to solve this problem or at least to work-around with it.
Thanks in advance for your help.