🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IdFTP problem

#2208
From: David Ayre
Date: Tue, 18 Jul 2006 17:41
36 lines
2256 bytes
Thanks Remy,

That works great.

Why is it that ftp requires so much info, such as username and
password and has difficulty getting through a firewall, while
http seems to be able to go straight in?

Cheers,

David


"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"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: <44bd1d4a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!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> <44bd11bf$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: "David Ayre" <davidcayre@ntlworld.com>
Sender: "David Ayre" <davidcayre@ntlworld.com>
Reply-To: "David Ayre" <davidcayre@ntlworld.com>
Subject: Re: IdFTP problem
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 62.252.224.18     
X-Forwarded-For: 81.96.132.239
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> <44bd11bf$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44bd1d4a$1@newsgroups.borland.com>
Date: 18 Jul 2006 10:41:30 -0700
X-Trace: newsgroups.borland.com 1153244490 207.105.83.66 (18 Jul 2006 10:41:30 -0700)
Lines: 37
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail