---- dataentry ---- type : integration # do not change this line systems : FoxyCart # the system(s) that the integration is for, separated with commas if more than one name : self_hosted_downloads # the name of the integration description : Host your downloadable products on your own server. Emails are sent out to your customers using the FoxyCart XML. Highly flexible. # tags : downloadables # tags, separated by commas. don't include the "system" here. date_dt : 2014-10-20 # the date in YYYY-MM-DD format version : 0.3.3 # if you have a version for your code, enter it here developer_url : http://www.dotenablers.com/ # if you'd like a link back to your site, stick it here ---- ====== Self-Hosted Downloadable Products ====== //**Please note:**// The code on this page is submitted by members of the FoxyCart community, and may not verified by FoxyCart.com LLC in any way, shape, or form. Please double check the code before installing. If you need help with it please [[http://forum.foxycart.com/|post in our forum]], but if we cannot offer assistance (due to unfamiliarity with this particular system or language) we apologize in advance. ===== Description ===== This application is intended to extend/interface with the [[http://www.foxycart.com/|FoxyCart! e-commerce platform]]. It allows clients to purchase downloadable products (such as software) through FoxyCart and yet host and manage those products on their own server or Amazon S3. The client is emailed a unique, secure download link which will provide them with their purchased file. Downloads can be restricted with an expiration date or maximum number of downloads. The products and downloads are managed via a MySQL database. Files are stored and downloaded from the file system or Amazon S3. It is also capable of storing in the database but file system is recommended. ===== Installation ===== In ''readme.txt''. ===== Requirements ===== * PHP * MySQL ===== Notes ===== If you get an occasional error like: * Unable to unarchive...into "Downloads". (Error 1 Operation not permitted). * access denied, no files in folder * Unexpected end of archive You may need to turn off the output compression. You can do this in your php.ini or by putting this at the top of download.php: ini_set('zlib.output_compression', 'Off'); ===== Code ===== * {{:integration:foxycart:foxycart-self-hosted-downloads.0.3.3.zip|FoxyCart Self-Hosted Downloads, v0.3.3}}, code cleanup * {{:integration:foxycart:foxycart-self-hosted-downloads.0.3.2.zip|FoxyCart Self-Hosted Downloads, v0.3.2}}, added phpMailer and external SMTP * {{:integration:foxycart:foxycart-self-hosted-downloads.0.3.1.zip|FoxyCart Self-Hosted Downloads, v0.3.1}}, added support for products filtered by FoxyCart category and Amazon S3 folder download * {{:integration:foxycart:foxycart-self-hosted-downloads.0.3.0.zip|FoxyCart Self-Hosted Downloads, v0.3.0}}, added support for files served from Amazon S3 * {{:integration:foxycart:foxycart-self-hosted-downloads.0.2.0.zip|FoxyCart Self-Hosted Downloads, v0.2.0}}, files stored as files in the filesystem * {{:integration:foxycart:foxycart-self-hosted-downloads.0.1.0.zip|FoxyCart Self-Hosted Downloads, v0.1.0}}, files stored as blobs in the database