Re: Flushing on error

Giganews Newsgroups
Subject: Re: Flushing on error
Posted by:  Remy Lebeau (TeamB) (
Date: Tue, 18 Jan 2005

"Michael J. Leaver" <> wrote in message

> Sometimes the FTP communication gets out-of-sync
>(usually after an abort).

Abort has never been properly implemented in Indy.  This is because the FTP
protocol is based on Telnet, and as such uses Out-Of-Band data for handling
Abort sequences.  Indy does not support OOB data.

> What is the best way to flush everything so the
> communication can start again (on the client side)?

There isn't any.  Whatever you do on the client, the server will still be
out-of-sync.  The only thing you can do is disconnect and reconnect.




In response to

Flushing on error posted by Michael J. Leaver on Tue, 18 Jan 2005