Article View: borland.public.cppbuilder.internet.socket
Article #4736Re: TIdHTTP OnWork
From: kingofwang
Date: Thu, 23 Dec 2004 03:55
Date: Thu, 23 Dec 2004 03:55
4 lines
1332 bytes
1332 bytes
TIdHTTP.Response.ContentStream.Size only exist in Indy9.0.*, in Indy8, i think, use the "get/post/dorequest" method with TStream* paramter, and get the actual downoad size in the onwork/onworkend event by visit the stream->Position property.
Technical Details
Message-ID:
<41ca3f91@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41c89ab7$1@newsgroups.borland.com> <41c8a682$1@newsgroups.borland.com> <41c90294$1@newsgroups.borland.com> <41c93d7b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a208acfa73369e15 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "kingofwang" <kingofwang@sina.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <41c89ab7$1@newsgroups.borland.com> <41c8a682$1@newsgroups.borland.com> <41c90294$1@newsgroups.borland.com> <41c93d7b$1@newsgroups.borland.com> Subject: Re: TIdHTTP OnWork Date: Thu, 23 Dec 2004 11:55:51 +0800 Lines: 8 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 219.239.24.228 Message-ID: <41ca3f91@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1103773585 219.239.24.228 (22 Dec 2004 19:46:25 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail