To clear the server reply queue, use the RESET FTP client subcommand:
REset
This subcommand resynchronizes the sequencing of the server subcommands and replies with the remote FTP server. Resynchronization might be necessary following a violation of the FTP protocol by the remote server.