🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2207

Re: IdFTP problem

#2207
From: Remy Lebeau (TeamB)
Date: Tue, 18 Jul 2006 16:51
19 lines
1826 bytes
"David Ayre" <davidcayre@ntlworld.com> wrote in message
news:44bcb359$1@newsgroups.borland.com...

> I have got TIdHTTP. Is that the same as IfHTTP that
> you showed in your example below?

Yes.

> is it possible to run a progress bar with HTTP as I did with FTP?

Yes.  Use the OnWork events, just like you would with TIdFTP.  If anything,
TIdHTTP is more accurate in regards to progress tracking because most
servers provide the real data size during downloads, whereas FTP does not.
So under most cases, the AWorkCountMax parameter in the OnWorkBegin event
will contain a real size instead of 0.


Gambit
Technical Details
Message-ID: <44bd11bf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <44b7b0d0$1@newsgroups.borland.com> <44b7c6f8$1@newsgroups.borland.com> <44b7ee96@newsgroups.borland.com> <44b7f43e$1@newsgroups.borland.com> <44b8a05a$1@newsgroups.borland.com> <44b8a74a@newsgroups.borland.com> <44b8acc2$1@newsgroups.borland.com> <44ba7c4c$3@newsgroups.borland.com> <44ba98f8$1@newsgroups.borland.com> <44bb061f$1@newsgroups.borland.com> <44bbaed3$1@newsgroups.borland.com> <44bcb359$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,117ad7250680adca
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <44b7b0d0$1@newsgroups.borland.com> <44b7c6f8$1@newsgroups.borland.com> <44b7ee96@newsgroups.borland.com> <44b7f43e$1@newsgroups.borland.com> <44b8a05a$1@newsgroups.borland.com> <44b8a74a@newsgroups.borland.com> <44b8acc2$1@newsgroups.borland.com> <44ba7c4c$3@newsgroups.borland.com> <44ba98f8$1@newsgroups.borland.com> <44bb061f$1@newsgroups.borland.com> <44bbaed3$1@newsgroups.borland.com> <44bcb359$1@newsgroups.borland.com>
Subject: Re: IdFTP problem
Date: Tue, 18 Jul 2006 09:51:51 -0700
Lines: 21
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: <44bd11bf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1153241535 68.69.17.41 (18 Jul 2006 09:52:15 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail