[twsocket] TFTPCLIENT Put() return value problem.
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
Fraoncois, can you help us a little bit?
From: Davie <email@example.com>
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
an Exception, and then your main caller of PUT will know that a bad thing
BTW, have you tried my ABOR fix in the ftpcli.pas file?
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
> success. But the following code:
> ALWAYS enters the if, that is always Put returns true eventhough I abort
> transfer. Do not worry about the initialization, connection, .... the
> Transfer is done healthily. But the problem is I cannot detect the
> of the operation. Same problem with the REST command.
> Any code samples, either in BCB or delphi is deeply appreciated.
> Best Regards,
> 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