[twsocket] FTP ABORT() issue

Raptor G g_ates@hotmail.com
Tue, 13 Jun 2000 19:53:35 EEST


Thanks Hung,

It seems like we need your code.

Regards,

Raptor

From: Hung Huynh <d95hung@dtek.chalmers.se>
Reply-To: twsocket@elists.org
To: twsocket@elists.org
Subject: Re: [twsocket] FTP ABORT() issue
Date: Tue, 13 Jun 2000 18:11:49 +0200 (MET DST)

On Tue, 13 Jun 2000, Raptor G wrote:

 > is when run with QUOTE(), it cannot work if another command is on job. SO
 > you could not run Abort() to stop other commands.
 >
 > Any solutions?

Hi!

I made my own CancelAsync method. Basically, it bypasses the commands so
that you don't get an "busy with previous command". If you don't know how
to bypass the commands, just take a look at Francois's FtpCli.AbortAsync
method (which kills the connection immediately).

I'm not sure i've done't propertly, but it does work on most servers. I
can include some sourcecode here if you want.

regards,
Hung


-- d95hung@dtek.chalmers.se                                       ----
-------                       www.dtek.chalmers.se/~d95hung ----------
-- Who dares wins           -------- - -- ---            -------------


_______________________________________________
TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
Visit our website at http://www.rtfm.be/fpiette/indexuk.htm

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com