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 6683039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:46:30+00:00 2026-05-26T04:46:30+00:00

I have a script that generates a new CSV file (in my web directory)

  • 0

I have a script that generates a new CSV file (in my web directory) every half hour, it replaces the original one and puts a new one in its place with the same file name, the file is linked to on my website.

When I download the file from my website, instead of getting an updated version I get a file that is the same as the first time I downloaded it on this computer.

My first thought was to make sure that the script is still running properly and after testing, I can confirm that it is.

I then cleared the cache and download history in Chrome and tried to download it again, this time it worked as intended.

I am running this off of a rackspace cloud server running ubuntu and apache. I assume there is some setting that I need to reconfigure to fix this problem. Could someone please point me in the right direction.

Thanks in advance.

  • 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-26T04:46:31+00:00Added an answer on May 26, 2026 at 4:46 am

    A somewhat dirty solution is to append to the script that let you download the file a random number (or maybe the timestamp) as parameter to prevent the caching.

    For example:

    http://www.example.com/download.php?file=my.csv&rand=123456789

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

Sidebar

Related Questions

I have a Ruby script that generates a UTF8 CSV file remotely in a
I have a script that generates a csv file using the following code: header('Content-type:
I have a script that takes a table name and generates a control file
I have a CGI script that generates a file on the server and then
I have a simple groovy script that generates xml def builder = new groovy.xml.StreamingMarkupBuilder()
I have a script that generates DDL scripts to define materialized views for a
I have a script that generates images from text using PHP. It's working fine
I have a script that generates two lines as output each time. I'm really
I have an script that receives an encrypted url and from that generates a
For automated testing (using Hudson) I have a script that generates a bunch of

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.