Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Duration of downloads … and … limit # of downloads :) › Reply To: Duration of downloads … and … limit # of downloads :)
Tested link generated from Admin Functions, but link is able to be downloaded more than once. My settings are 1 hour and 1 time download.
I checked my settings again and I realized that I have moved the Download Validation Script Location to a new folder. I checked the UPDATE download.php and saw that is now calls an extra file (eStore_db_access.php) so I have moved this file to my new folder as well. So now I have 3 files in my new folder (download.php, eStore_classes.php and eStore_db_access.php). This folder is the folder that is set in my settings as the Download Validation Script Location. I have also changed the line in the download.php file to make sure it’s calling my wp_load.php from the right location (per instructions I saw elsewhere).
I think the TIME limit works (because I tested this yesterday). I have it set to 1 hour (which I understand is the minimum), but the # of downloads limit does NOT seem to be working.
Perhaps my settings are wrong since I have moved some files around??? The only other thing I have done is delete the htaccess files since my server won’t allow the download at all if I have these in the folder.