How to Update a Progress Bar?

Giganews Newsgroups
Subject: How to Update a Progress Bar?
Posted by:  Barry Wood (Bar…
Date: Mon, 8 May 2006


I use Delphi's IdFTP component to put a file up to a web server. I'm trying
to use a progress bar to inform the User how the transfer is going. I know
the size of the file so can set the max, and I undertand the OnWork event
will give the bytes transfered, but I'm unsure how I get those figures
whilst the put is active.