Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Progress Bar for an FTP Transfer

www.cryer.info
Managed Newsgroup Archive

Re: Progress Bar for an FTP Transfer

Subject:Re: Progress Bar for an FTP Transfer
Posted by:"Barry Wood" (bar..@amss.uk.com)
Date:Mon, 8 May 2006 08:47:57

Yes, Indy has those events. I'm not unclear how I go about getting the info
from them. I have a 'put' to transfer the file and I know the size: how do I
get the 'progress' points? Would I need a separate thread running to get the
updates from OnWork?


"Ciaran Costelloe" <ccostelloe@flogas.ie> wrote in message
news:445e612b@newsgroups.borland.com...
> Barry Wood wrote:
>
>> Finn
>>
>> I'm using the Indy idFTP component. Is there somethng in there that
>> tells me the bytes sent?
>
> I am not familiar with IdFTP, but I assume it has handlers
> OnWork/OnWorkBegin/OnWorkEnd.  You will need to know the file size to
> set the progress bar's Max, but OnWork will tell you how much has been
> transferred.
>
> Ciaran

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive