force csv download to open browse dialog (2 posts)

  1. jivyb
    Posted 7 years ago #

    Hi. I'm trying to provide a csv file for download that won't open up with the data in the browser window, but that can be downloaded as a .csv file through the browse dialog and be saved to the user's hard drive. I tried using the download monitor plugin but that didn't change anything.

    Is there a way to force the browse dialog to open?

  2. In your .htaccess file:
    AddType application/octet-stream .csv

    That should force CSV files to download instead of loading in the browser.

Topic Closed

This topic has been closed to new replies.

About this Topic