Article View: borland.public.cppbuilder.internet.web
Article #943Re: How to make TIdHTTP::Get() show it's current progress-state?
From: Remy Lebeau (TeamB)
Date: Tue, 14 Feb 2006 09:01
Date: Tue, 14 Feb 2006 09:01
12 lines
1498 bytes
1498 bytes
<MR> wrote in message news:uaq2v1pj3n56hemn0hjimm4cpacb8rnibg@4ax.com... > Is there a way to find out how many bytes to be read at all. Yes, but not 100% reliably. There is the TIdHTTP.Response.ContentLength property, but it is only valid if the server reported the file's length ahead of time. Depending on how the file is being transferred internally (chunked, compressed, etc), the file's length is not always available. Gambit
Technical Details
Message-ID:
<43f19d5d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<rpl1v11s7qjgne4qgo2ihebrn2of6sg3iu@4ax.com> <43f113b7@newsgroups.borland.com> <uaq2v1pj3n56hemn0hjimm4cpacb8rnibg@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1a9645b22bbe86cb X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <rpl1v11s7qjgne4qgo2ihebrn2of6sg3iu@4ax.com> <43f113b7@newsgroups.borland.com> <uaq2v1pj3n56hemn0hjimm4cpacb8rnibg@4ax.com> Subject: Re: How to make TIdHTTP::Get() show it's current progress-state? Date: Tue, 14 Feb 2006 01:01:36 -0800 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43f19d5d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139907933 68.69.17.41 (14 Feb 2006 01:05:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail