> Message: 1
> Date: Tue, 12 Sep 2006 13:00:09 +0200
> From: "Arno Garrels" <[EMAIL PROTECTED]>
> Subject: Re: [twsocket] Aborting transfers without AbortXfer?
> To: "ICS support mailing" <twsocket@elists.org>
> Content-Type: text/plain;     charset="iso-8859-1"
> Daniel Eriksson wrote:
>> What is the best and safest way to abort a transfer without closing
>> the connection? I've tried the AbortXfer command but that doesn't work
>> because the ABOR command is not available on the server I'm using.
> Have you tried calling Abort on the data connection?
Do you mean like this?

  while AFtpClient.State <> ftpReady do

(note: Delay() is an improved version of Sleep() that I'm using).

The above code seems to work, but is it 100% safe to use? I mean, why
use TFtpClient.AbortXfer if this one works for all FTP servers?
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to