Progress Bar
| From: | Craig Gardner | Date: | Wed, 28 Apr 2004 20:29:41 +0000 |
| Subject: | Progress Bar | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184902@lists.php.net to get a copy of this message | ||
I'm working on a script that will automatically download and burn an ISO to a CD, when passed the filename of the ISO and I want to use some sort of progress bar to show how much of the download/burn is complete. I was originally going to use wget to download the file, but I don't know how to get the progress of the download. Before the script processes, I have the filename and filesize. Does anyone know of a way to get the file to download and give me the percentage of the file downloaded or even the filesize of the local copy every couple seconds or so?
Thanks,
Craig