File Download Product served from Amazon S3 for Ubercart.
Product downloads are stored and served on/from your Amazon S3 account. All files are set at private, so the files are secure. Preventing people from downloading them without first buying them.
All features of the original uc_file module are functional.
Update: May 28, 2008 I got a private message from someone asking me about the state of this module. I uploaded my current code which I use on several sites with Ubercart RC4. Basically overwrite the uc_files module with these files. I haven't done anything with it for long time. Read the readme. But here it is, and it works, but the way it works is you have to setup a subdomain and point it to amazon s3 via cname record change, and create bucket with full subdomain name. Probably none of this makes sense.
Currently this is a wholesale replacement of uc_file. Meaning you can NOT use both at the same time because I didn't change the module name.
The code is identical to uc_file except I changed the relevant parts to interface with Amazon S3 instead of your local file system.
You need an Amazon S3 account. And you have to edit the s3.class.php file by adding in the API key ID and secret key that you get from Amazon.
The your bucket name must be unique across all Amazon S3 accounts.
The only current limitation is the size of uploaded files. As they first have to be uploaded to your server and then transferred to Amazon. They claim that they will be releasing a new feature to upload straight to Amazon from a post form by the end of the year.
There is also not much in the way of error checking, if something fails. In particular file uploads.
So I wanted feedback as to whether I should make a new module or try to combine the two? I'm sure people will say combine them, but I'm not really up to doing the work for that.
|uc_file.zip (May 28, 2008)||45.03 KB|