Log in

View Full Version : PHP archiving/download script with status update



premtemp
03-11-2010, 03:04 AM
Hello,
I am working a system where a users can download file from a server. I am able to extract the file and and add to an archive file and download it to my PC. However, the number of files can be large (200-300 files). So, take some time to add these file to archive. In my current implementation the user wait while the file are added to the archive

I would like to create a HTML page where the user can see all the file and then select download button. It should then notify the user via some message text about the status of archive/download.

for example
... adding f1 to the ararchive
--- adding F2 to archive
-- zipping file
--

Thanks for any suggestion

BLiZZaRD
03-11-2010, 08:47 PM
Not sure about the status.... if the file isn't there then they can't download it right?

I use MyphpScripts' download script. All you do is create a directory to hold the files you want to be available for download. Follow the set up stuff, then start uploading.

The download page will automatically show what is available for download. If it isn't in the download folder, it doesn't show up on the page.

There is also an admin section where you can add details to the downloadable files (names, information, etc.) that the end user will see on the download page.

You can see it in action on my site (http://outsidetheurl.com/share/) where you can even download the file. (its the only one I have up right now).

Fun fun.