Article View: borland.public.cppbuilder.internet.socket
Article #4735Re: TIdHTTP OnWork
From: kingofwang
Date: Thu, 23 Dec 2004 02:09
Date: Thu, 23 Dec 2004 02:09
4 lines
1425 bytes
1425 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:
<1103767746.330257.10740@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.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 Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "kingofwang" <wangzw@gmail.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: TIdHTTP OnWork Date: 22 Dec 2004 18:09:06 -0800 Organization: http://groups.google.com Lines: 5 Message-ID: <1103767746.330257.10740@z14g2000cwz.googlegroups.com> References: <41c89ab7$1@newsgroups.borland.com> <41c8a682$1@newsgroups.borland.com> <41c90294$1@newsgroups.borland.com> <41c93d7b$1@newsgroups.borland.com> NNTP-Posting-Host: 219.239.24.228 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1103767750 27588 127.0.0.1 (23 Dec 2004 02:09:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 23 Dec 2004 02:09:10 +0000 (UTC) In-Reply-To: <41c93d7b$1@newsgroups.borland.com> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=219.239.24.228; posting-account=kovRwg0AAADEre1w8eVCunJILPbUE6oZ