Thank you, these are just the answers that I need!
-Ronny
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, February 26, 2006 11:51 AM
Subject: Re: [twsocket] HttpCli problem
>
>> Here is how I
> Here is how I handle events:
>
> Objective, to download several files, very similar to the Httpasy demo:
> On GoButton.Click: HttpCli.GetASync
> OnHeaderEnd: Check if the file to be downloaded is good. If not, ABORT.
> OnRequestDone: If ABORT, then clear the file, if not store the downloaded
or is there a better
method of doing this?
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Sunday, February 26, 2006 6:21 AM
Subject: Re: [twsocket] HttpCli problem
>> Thank you for the feedback, Francoi
uot;
Sent: Sunday, February 26, 2006 12:24 AM
Subject: Re: [twsocket] HttpCli problem
> Thank you for the feedback, Francois and Wilfried. I have not been clear
> in
> my explination. Let me start again with more detail:
>
> State: httpReady
> I call httpcli.GetASync.
> State:
riginal Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, February 25, 2006 1:12 PM
Subject: Re: [twsocket] HttpCli problem
>>> Why use a loop ?
>>> Why don't you want to use OnRequestDone event ?
>
>&
; - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Saturday, February 25, 2006 11:22 AM
> Subject: Re: [twsocket] HttpCli problem
>> Why use a loop ?
>> Why don't you want to
>> Why use a loop ?
>> Why don't you want to use OnRequestDone event ?
> That is the problem. This routine is called from OnRequestDone. That is
> why
> I think that there is a bug. OnRequestDone gets called twice for 302s,
> but
> I have already taken that into account.
> Should httpcli.State
.
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, February 25, 2006 11:22 AM
Subject: Re: [twsocket] HttpCli problem
> Why use a loop ?
> Why don't you want to use OnRequestDone ev
Why use a loop ?
Why don't you want to use OnRequestDone event ?
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Ronny" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, February 25, 2006 4:57 PM
Subject: Re: [twsocket]
> The problem is that the STATE is not ready after the abort, so when I use
> httpcli to grab another file after a 302, I would get an error. (http
> component busy, I think).
> After an abort in such a case, is there anything that I have to do to make
> sure that the component is ready for the nex
y happens after a 302, anything else (200, 404, etc) works well.)
> -Ronny
> - Original Message -
> From: "Francois PIETTE" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Saturday, February 25, 2006 3:59 AM
> Subject: Re: [twsoc
infinite loop if application.processmessages is
removed)
- Original Message -
From: "Ronny" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, February 25, 2006 10:08 AM
Subject: Re: [twsocket] HttpCli problem
> The problem is that the STATE is not read
?
(This only happens after a 302, anything else (200, 404, etc) works well.)
-Ronny
- Original Message -
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, February 25, 2006 3:59 AM
Subject: Re: [twsocket] HttpCli problem
> After httpcli.abort is called, the statuscode is normally 404 if the
> statuscode before the call is 200. The statuscode is 0 if the original
> statuscode is 302. This is causing me problems (i.e. httpcli state is not
> ready after an abort is called if the statuscode was 302). See example:
>
After httpcli.abort is called, the statuscode is normally 404 if the
statuscode before the call is 200. The statuscode is 0 if the original
statuscode is 302. This is causing me problems (i.e. httpcli state is not
ready after an abort is called if the statuscode was 302). See example:
log.
15 matches
Mail list logo