🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Need Assistance with the TIdFTP Component in BCB 2006...

#1027
From: Bob Gonder
Date: Thu, 28 Jun 2007 02:41
16 lines
1496 bytes
Carl Danley wrote:

>ftpWorkBegin()
>{
>  pbar->Progress =0;
>  pbar->MaxValue = AWorkCountMax;
>}
>..... Am I doing something wrong that this wont display the download 
>progress? 

Check   AWorkCountMax.
I figure it's zero, making the progress bar always 100%.
Remy mentioned some time ago that Get doesn't know the size of the file.
If that is still the case, then you would need to figure the file size before downloading.

I can't find the Indy function, but the Win function is  FtpFindFirstFile().
Technical Details
Message-ID: <8l7683p0biqji92gqsm17hane1hdm6kd7q@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <467f387d$1@newsgroups.borland.com> <4682c3f9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,43e624bf4e799e37
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: Need Assistance with the TIdFTP Component in BCB 2006...
Date: Wed, 27 Jun 2007 19:41:21 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <8l7683p0biqji92gqsm17hane1hdm6kd7q@4ax.com>
References: <467f387d$1@newsgroups.borland.com> <4682c3f9@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.91.28
X-Trace: newsgroups.borland.com 1182998477 69.69.91.28 (27 Jun 2007 19:41:17 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail