Forcing digital goods to pull from Amazon S3

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Forcing digital goods to pull from Amazon S3

Post by AbleMods » Fri Jul 22, 2016 5:13 am

So has anyone modified digital goods to pull the physical file from Amazon S3 buckets as opposed to local file storage?

Looking at the code, it seems fairly simple on the surface. In /DigitalDelivery/DigitalGoods.cs there are two methods ReadFileData() and WriteFileData(). Seems like all I need to do is rewrite those routines to use the Amazon SDK and I'm done.

For the frontend, it seems like changes to the /App_Code/DownloadHelper.cs SendFileDataToClient() method would be necessary as well.

It seems....almost to easy. Which worries me.

Any thoughts from the Able dev team? Am I headed down the right path?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply