Results 1 to 2 of 2

Thread: PHP archiving/download script with status update

  1. #1
    Join Date
    Nov 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default PHP archiving/download script with status update

    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

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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 where you can even download the file. (its the only one I have up right now).

    Fun fun.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •