[twsocket] TFtpClient REST function detection

Heedong Lim hdlim@www.kis21.com
Mon, 26 Jun 2000 11:21:33 +0900


Hi, there.

If you use async,
use Error paramater in RequestDone event handler,
if Error is 0 then no error else some error.

If you use sync,
use StatusCode,
In the case of 'REST' command,
if StatusCode is 3xx then no error else some error.

Bye,

----- Original Message -----
From: "Raptor G" <g_ates@hotmail.com>
To: <twsocket@elists.org>
Sent: Saturday, June 24, 2000 6:32 AM
Subject: Re: [twsocket] TFtpClient REST function detection


> After I send the
>
> FTP->LocalFileName = "REST 1";
> FTP->Quote();
>
> commands, where will I read the reply?
>
> Regards,
>
> RaptorG
>
>
> From: "Heedong Lim" <hdlim@www.kis21.com>
> Reply-To: twsocket@elists.org
> To: <twsocket@elists.org>
> Subject: Re: [twsocket] TFtpClient REST function detection
> Date: Sat, 24 Jun 2000 02:09:44 +0900
>
>
> Hi, Raptor.
>
> success response of REST command:
> 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer.
>
> fail response of REST command:
> 504 Reply marker must be 0.
>
> ----- Original Message -----
> From: "Raptor G" <g_ates@hotmail.com>
> To: <twsocket@elists.org>
> Sent: Friday, June 23, 2000 8:21 PM
> Subject: [twsocket] TFtpClient REST function detection
>
>
>  > Hello everybody,
>  >
>  > I want to know how can i check if a server supports REST command. I
> noticed
>  > other commercial clients using the command "REST 100" and checking the
>  > reply. I can post the command .Quote(). Where will I ead the reply and
> how
>  > will I interpret it?
>  >
>  > Regards,
>  >
>  > RaptorG
>  >
________________________________________________________________________
>  > Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com
>  >
>  >
>  > _______________________________________________
>  > TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
>  > Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm