Visit Bayesean Blog
This project scope came about when a comment was received asking how to use a seconds timed delay. So I put a blog together on this. The original progress bar was jerky in nature and did not look professional.
While updating the blog to Bootstrap 4, the scope required a smooth progressbar showing the seconds counting down.
Must not show the download button immediately to prevent non-human downloading.
Must keep the user knowledgeable as to what is happening by adding a count-down timer linked to a progress bar.
Must flow automatically.
Must immediately download the file that was selected on the click of the button that became visible after completion of the progress bar.
Bootstrap 4 Framework.
PHP 5.6 + .
Downloader.php - A PHP Library (A free to use file download library created by Jack Mason )
This is included in the included Download below.
This file contains the visual element of a drop down box to select the file to download.
This file contains the visual download progress bar and button to download the file.
This file is called by the download button and processes the file to download.
This holds all the mime information and allows any type of file to be downloaded.
Visit Bayesean Blog for the Coding detail.
Licence is MIT.