I’m afraid that you are mistaken. Typing “clear” in an FTP client (at least every one that I have tried) will just result in an error message. In the Windows client the message is “Invalid command”.
I’m pretty sure there is no way of doing what the OP wants.
I’m pretty sure there is no way of doing what the OP wants.