I have a simple script which uploads a CSV file to the server.
It is saved as filename.csv.
I have a direct link to this uploaded file such as <a href="http://www.myserver....e.csv">Download CSV File</a>
When I click the link, it gives me an option to download the file.
Now I uploaded this same script on another server.
On clicking the "Download CSV File" link on this server, it opens the CSV file in the browser instead of giving me the download box.
Can I set up the .htaccess file in some way on the second server that would allow the CSV file to be downloaded instead of opened in the browser?
making file available for download instead of opening in browser?
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users