mc12345678 / EasyPopulate-4.0

Data import and export module for Zencart 1.3.x and 1.5.x
GNU General Public License v2.0
10 stars 8 forks source link

Download by POST? #36

Open mc12345678 opened 7 years ago

mc12345678 commented 7 years ago

Currently files are downloaded by clicking on a hyperlink. As part of this, the directory needs to allow download of .csv files which is more of an issue when the files are placed in a folder in the admin directory because of the .htaccess in the admin directory than it is in the catalog side where no parent .htaccess is provided by ZC (Doesn't prevent store from including one and therefore needing to again have an .htaccess file in the EP4 sub-directory.

At any rate, it could be more beneficial to have a post version of the download as compared to a standard a tag link. Consider review/incorporation of the ZC catalog side for download processing as an option even if it is to directly link that header instead of something new/additional in the admin side. This way any modifications applied to that functionality are only needed once (ie. change of by link folder permissions from 0777 to 0755).