[twsocket] TFTPCLIENT Put() return value problem.

Raptor G g_ates@hotmail.com
Tue, 27 Jun 2000 09:41:47 EEST


Yes, your ABOR fix works well apperantly, thanks. But i didn't have time to 
test it throughly though.

But the problem is, i think this is a weakness of ICS, (I wonder what 
Francois thinks but) when you abort a transfer with OnProgress events' bool 
&abort variable or either you cut off the network cable, put always returns 
true.

Fraoncois, can you help us a little bit?

Regards,

RaptorG

From: Davie <smatters@smatters.com>
Reply-To: twsocket@elists.org
To: twsocket@elists.org
Subject: Re: [twsocket] TFTPCLIENT Put() return value problem.
Date: Mon, 26 Jun 2000 18:35:50 -0500

hey, then maybe instead of doing a clean abort on the file transfer, try 
setting
an Exception, and then your main caller of PUT will know that a bad thing
occured :)

BTW, have you tried my ABOR fix in the ftpcli.pas file?

Davie

Raptor G wrote:

 > Hello everyone,
 >
 > I have a big problem with Put() in TFTPCLIENT.
 > As far as i know all the sync commands return boolean values based on 
their
 > success. But the following code:
 >
 > if(currentFTP->Put())
 > {
 > }
 >
 > ALWAYS enters the if, that is always Put returns true eventhough I abort 
the
 > transfer. Do not worry about the initialization, connection, .... the
 > Transfer is done healthily. But the problem is I cannot detect the 
success
 > of the operation. Same problem with the REST command.
 >
 > Any code samples, either in BCB or delphi is deeply appreciated.
 >
 > Best 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