AshZS Posted March 3, 2013 Share Posted March 3, 2013 Hello I need to sell large virtual products (500MB to 1GB of uncompressed audio files) and was hoping to use Amazon S3 as the storage for these downloads. Can anyone suggest how I can integrate this into the virtual product upload/delivery mechanism? I was thinking of uploading a .php file that just acts as a redirect to the S3 content but the system does not process the PHP file, it just delivers it to the user. I want to keep the functionality of the download restrictions such as available for only 7 days and limit the number of times it can be downloaded. Any suggestions much appreciated. Link to comment Share on other sites More sharing options...
vekia Posted March 4, 2013 Share Posted March 4, 2013 in my opinion you need external solution like module or modification of order process, its not as simple as it seems. 1) paymentReturn - in this hook you have to add script which creates an link to amazon file (you need to store this link in database) database: link, counter, date 2) customers can click on link (each click - script will add +1 to counter of downloads located in database) 3) you need to add cron job which deletes rows where date > 7 days in my opinion you need external solution like module or modification of order process, its not as simple as it seems. 1) paymentReturn - in this hook you have to add script which creates an link to amazon file (you need to store this link in database) database: link, counter, date 2) customers can click on link (each click - script will add +1 to counter of downloads located in database) 3) you need to add cron job which deletes rows where date > 7 days it's only my suggestion, you can of course solve it in many other ways Link to comment Share on other sites More sharing options...
cyberdinu Posted March 24, 2013 Share Posted March 24, 2013 Hi, I don't know if you could use the media server fields in performance options of PS to point to your amazon server your download. By the way, had you success in downloading such large files from prestashpo? I'm trying to make one virtual product with 1Gb file but the file stops the download after 70-80MB (direct download from server is ok). Thnaks. Link to comment Share on other sites More sharing options...
icyhot Posted March 17, 2014 Share Posted March 17, 2014 I was actually wondering about this too. Can we use dropbox to store large virtual files? Is there any module for this? If so, is it going to be secure? Lastly, I heard the version 1.6 just came out. Will there be possibly this feature? (storing your files to other server and pulling them from it) Link to comment Share on other sites More sharing options...
MarcoCaridad Posted January 21, 2017 Share Posted January 21, 2017 Hello, I'm looking for a module for this too, also, I need a module / way to process the image to 3 diferents sizes that I want to do it with Amazon EC2 (for the large CPU consumption in this task) best regards! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now