HTACCESS

This file makes the action of a form a CSV file. One CSV file is in a folder with an .htaccess file in which the AddType command specifies a csv as plain text. The other CSV file is in a folder with an .htaccess file in which the AddType command specifies a csv as an application file.

Action is CSV with htaccess AddType set to plain text

AddType text/plain .csv

Action is CSV with htaccess AddType set to application

AddType application/octet-stream .csv