divyakrishnan 20 Junior Poster

Hi..

I want to show a progress bar when downloading a file.
In my script I am clicking a hyperlink and waiting for a while to appear the download box.
I want to display a progress bar before appearing the download box.


I had seen many examples for displaying the progress bar.
But I don't know how to set it for a file downloading.
Has any one had any idea help me.

The code I used(Progress bar appearing every time) is shown below.

<body>
<?php
$ebook="E-BOOK/"."186.exe";
?>

<a title="Click to View Ebook"  href="<?php echo $ebook; ?>" ><b>Ebook</b></a>
<div id="content"><img src="4.gif" alt="Loading, please wait..." border="0"></div>

</body>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.