Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7590857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:30:35+00:00 2026-05-30T20:30:35+00:00

Hi a server with a PHP script that deals with image downloads. After it

  • 0

Hi a server with a PHP script that deals with image downloads. After it finishes downloading all the images it zips them and then a user can download them.

To request this process a user clicks a button on a webpage which then tells my website to tell this other server to start this process. This is so the webserver which deals with requests doesn’t deal with file downloads / zipping and it won’t time out.

I was wondering how I can tell the progress of the zipping on the users webpage to notify the user when the zipping is complete?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:30:36+00:00Added an answer on May 30, 2026 at 8:30 pm

    I would make a queue file with the same name as the “the be created zip file” but with another extension.

    On your server which creates the download file, let the script create another file with the same name but a status code as extension.
    (ex 123456789.PRO meaning in progress and 123456789.DON for it being ready)
    The script that makes the zip file can then update this file name, before start makes the file .PRO and finished .DON)

    Now on your webserver do an ajax call which reads a PHP script, which in its return checks if the file exists.

    file not there: process not started
    .PRO file exists: PROCESSING
    .DON file exists: Create download link

    The ajax call could be checked every few seconds, up to you and how much server load you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP script that fetches an image from a remote server so
I'm working on a PHP script that runs a Python script on the server.
I have a PHP script on a server that generates the XML data on
I have a simple php script on a server that's using fsockopen to connect
I have a PHP script (running on a Linux server) that ouputs the names
I have created a PHP-script to update a web server that is live inside
I have a PHP server script that SELECTs some data from a MySQL database.
I have a server with a PHP script that pulls data from a source
I have a server-side php-script that fetches results from a MySQL table. I am
I am using shared server with a php script that sends a number to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.