Fredrik Larsson wrote:
> Hi,
>
>
>
> I am working on a project where the server side delivers HTTP-data as
> comet / chunked transfers e.g. the connection is never closed and as
> new events come along it sends new data over the same connection.
> There is no way to change the server side and us
Hi,
I am working on a project where the server side delivers HTTP-data as comet
/ chunked transfers e.g. the connection is never closed and as new events
come along it sends new data over the same connection. There is no way to
change the server side and use sockets instead (server side isn't m
Le 09/01/2011 16:08, Jean-Paul Passama a écrit :
Le 09/01/2011 15:49, Arno Garrels a écrit :
Jean-Paul Passama wrote:
Hi,
I'm trying to have a progress bar working during a file download by
HttpClient.Get (and HttpClient.RcvdStream).
I've seen the OnDocData that seems to receive the length of
Le 09/01/2011 15:49, Arno Garrels a écrit :
Jean-Paul Passama wrote:
Hi,
I'm trying to have a progress bar working during a file download by
HttpClient.Get (and HttpClient.RcvdStream).
I've seen the OnDocData that seems to receive the length of data
downloaded. Unfortunaly, the data length isn
Jean-Paul Passama wrote:
> Hi,
>
> I'm trying to have a progress bar working during a file download by
> HttpClient.Get (and HttpClient.RcvdStream).
>
> I've seen the OnDocData that seems to receive the length of data
> downloaded. Unfortunaly, the data length isn't really the size of the
> piece
Hi,
I'm trying to have a progress bar working during a file download by
HttpClient.Get (and HttpClient.RcvdStream).
I've seen the OnDocData that seems to receive the length of data
downloaded. Unfortunaly, the data length isn't really the size of the
piece of file downloaded because the pack
Hello Wayne,
There is an event called OnBeforeHeader... which gets the request header as
a TStringlist where you can change.
Regards,
SZ
On Tue, Mar 10, 2009 at 1:11 PM, wayne forrest wrote:
> How does one add a Header variable to ICS HttpClient ?
>
> thank you.
>
--
To unsubscribe or change
How does one add a Header variable to ICS HttpClient ?
thank you.
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
On Jul 21, 2007, at 11:58, Joakim Krassman wrote:
> Is there
> anyone that do have a code snippet that actually tells me the exactly
> weight
> of all the content that the httpclient downloaded?
There is no way for any client to know the entire weight of all content
without requesting each pi
Joakim Krassman wrote:
> Hi all,
> I hope that I managed to post this question to the right newsgroup,
> if not - be nice to me ;)
>
> Question,
> I am looking at the http client and I want that component to get the
> total size of a webpage with all graphics, flash etc.
Since the THttpCli is no
Hi all,
I hope that I managed to post this question to the right newsgroup, if not -
be nice to me ;)
Question,
I am looking at the http client and I want that component to get the total
size of a webpage with all graphics, flash etc. As I see it - it just looks
at the header and sen
Hello,
You can put it in the Tag property if you cast it to an integer. Later
in OnDocDone or whatever you restore it back by typecasting to
THttpConnection. Dont forget to make it null when the connection is
gone.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http
> Inside a THttpServer.OnGetDocument event, I have been using several
> THttpCli
> objects sucessfully for quite a while using Get. As my data returned is
> growing every month, i would like to start using GetAsync.
> The problem i have is, my data is returned in THttpCli.OnDocDone & i am
> unable
Inside a THttpServer.OnGetDocument event, I have been using several THttpCli
objects sucessfully for quite a while using Get. As my data returned is
growing every month, i would like to start using GetAsync.
The problem i have is, my data is returned in THttpCli.OnDocDone & i am
unable to access TH
> How to load some image and save in to file or directly assign to image object
> on form?
HttpCli1.URL := 'http://www.myserver.com/images/test.png';
HttpCli1.RcvdStream := TMemoryStream.Create;
HttpCli1.Get;
MyPngComponent.LoadFromStream(HttpCli1.RcvdStream);
HttpCli1.RcvdStream.Free;
Of course
, 2006 9:39 AM
Subject: Re: [twsocket] HTTPClient
>> I am having a problem with HttpClient that sits for nearly
>> hours on a url while trying to download it.
>> If I am not mistaken there is no timeout property to specify.
>> How would I go about this?
>
> Use a T
> I am having a problem with HttpClient that sits for nearly
> hours on a url while trying to download it.
> If I am not mistaken there is no timeout property to specify.
> How would I go about this?
Use a TTimer you start along with your request and disable from OnRequestDone.
Should the timer
e
Hi ICS,
I am having a problem with HttpClient that sits for nearly hours on a url while
trying to download it.
If I am not mistaken there is no timeout property to specify.
How would I go about this?
Thanks for helping!
--
To unsubscribe or change your settings for TWSocket mailing list
pleas
Hello Marius,
As Tibor noticed, just increment a integer and with a Timer you can
update the UI every few seconds. This way you will not have performacne
degrease. It is not the calculation that take time, it is graphical user
interface is very slow.
---
Rgds, Wilfried [TeamICS]
http://www.overby
If you just inrease an integer in the OnDocData event this shouldn't be
a performance issue.
Marius van Tubbergh wrote:
>>Yes, but be carefull 'cause if you do UI stuff in OnDocData event the
>>transfell could slow down awfully!
>>
>>
>
>Is there any other way around besides in OnDocData ev
> Yes, but be carefull 'cause if you do UI stuff in OnDocData event the
> transfell could slow down awfully!
Is there any other way around besides in OnDocData event?
Because performance is of utter most importance to me.
--
To unsubscribe or change your settings for TWSocket mailing list
p
>OnDocDate event:
>-
>
>TotalReceived := TotalReceived + Len;
>
>-
>
>
>
Yes, but be carefull 'cause if you do UI stuff in OnDocData event the
transfell could slow down awfully!
--
To unsubscribe or change your settings for TWSocket mailing list
Hi all,
I want to get the total bytes sent and received while downloading a web page.
On the OnDocData I have write the Len value in a label to display while
downloading.
But this does not display correctly as the Len value jumps up and down when
downloading a URL.
Should I accummulate the Len
al Message -
From: "Nicholas Sherlock" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Monday, April 04, 2005 9:37 PM
Subject: Re: [twsocket] HTTPClient
But how do you know if you have all of that file downloaded? :).
Suggestion: First bit of file is an integer
But how do you know if you have all of that file downloaded? :).
Suggestion: First bit of file is an integer which contains the file
length. If you download less than 4 bytes, it's incomplete. If you
download more than 4 bytes, you now know what the length of the file
should be and can check it
, April 04, 2005 6:30 PM
Subject: Re: [twsocket] HTTPClient
Hello Robert,
If the server does not give you the length, then it is impossible to
know.
ps: please dont reply on a thread if you start a new topic. Many people
will not see your question if they use an email reader that sort on
topic and whe
Hello Robert,
If the server does not give you the length, then it is impossible to
know.
ps: please dont reply on a thread if you start a new topic. Many people
will not see your question if they use an email reader that sort on
topic and when they dont follow the topic. I only saw it by accident
How is possible to know if the full zipped file is downloaded?
I've not info about the file size in the web site.
Tks
Robert
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
How is possible to know if the full zipped file is downloaded?
I've not info about the file size in the web site.
Tks
Robert
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
--
29 matches
Mail list logo