![]() |
Problem with downloadable file locations |
Post Reply ![]() |
Author | |
kcramer ![]() Newbie ![]() Joined: 08-November-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 29-June-2012 at 10:41pm |
Hi everyone,
We want to use Amazon S3 to store the files for some of the downloadable products we sell through ProductCart, but it seems like ProductCart doesn't play nicely with the links to files stored on Amazon S3.
We currently have the files stored on the same server where our site is hosted, so right now the HTTP path to the file looks something like this:
But, files located on Amazon S3 have paths that look like this instead:
as3tp://oursite.s3.amazonaws.com/ourMP3products/product-name.zip
When we try to use the Amazon S3 path to the file, ProductCart won't find the file and simply shows an error message instead. (We've verified the file path a half-dozen times to make sure we typed it into ProductCart correctly, and it works fine when we try to download it through a different cart.)
Does anyone know how to fix this? Is there a way to force ProductCart to accept the as3tp path as a valid path?
Thanks in advance for any help or suggestions!
~ Kristen
|
|
![]() |
|
Hamish ![]() Admin Group ![]() Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
It is almost certainly due to an incompatibility with the security features for downloadable products that are built in to productcart such as temporary and hidden urls. See the wiki for more details. If you place them on s3 or anywhere off your site then they would be outside the control of productcart and AFAIK the link to the downloadable product could be shared with any and everyone!
|
|
![]() |
|
kcramer ![]() Newbie ![]() Joined: 08-November-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Hi Hamish,
We have a few downloadable product files stored on a different site (completely different domain and server) and have been linking to their HTTP paths through ProductCart for several months without a problem, so I don't think it's necessarily an issue of placing the files off the site. In every test we've done in every browser so far, ProductCart still hides the actual HTTP path to the file on the other site and gives the customer a masked URL the same way it would if the file was located on the same site as ProductCart.
I think the problem is twofold: first, ProductCart doesn't recognize a path that starts with "as3tp" instead of "http", and second, there's no place in ProductCart to enter the API/authentication info for our Amazon S3 account (so even if it recognized the as3tp path, it still couldn't access the file).
~ Kristen
|
|
![]() |
|
kcramer ![]() Newbie ![]() Joined: 08-November-2009 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
I found out we can get https links to our files on Amazon S3, so half the problem is solved. The only problem now is finding a way to get ProductCart to pass the authentication info for our Amazon S3 account so it can get access to the files. I don't even know where to start with something like that.
~ Kristen
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |