Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Amazon S3 and WP eStore Questions

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Amazon S3 and WP eStore Questions

  • This topic has 11 replies, 2 voices, and was last updated 14 years ago by GraphicBass.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • March 24, 2011 at 12:59 am #3031
    GraphicBass
    Member

    I’m finally getting around to using an Amazon S3 account I set up two years ago to host my large downloads, but now I’m trying to figure out a few things. These may not be strictly WP eStore-related, but perhaps an S3 expert can help…

    1. Checking my my uploads in my bucket, I see that the file names are not as they were when I uploaded, but something like: Del-2011-03-11-23-17-17-18HM4WZEM5QPMB46YG02. I now have no idea what that file actually is! Is there a way to discover the true file name, or do I need re-upload, keeping a separate record of File Name/S3 name (or download it and look at it)?

    2. The article about S3 integration on the TNT website refers to S3 links as looking like this: “as3tp://bucket.s3.amazonaws.com/object”. However, the link as actually displayed in my object list uses “https://”. Am I correct in assuming that since this is what Amazon says is the link, it is correct?

    Thanks!

    gary

    March 24, 2011 at 1:20 am #30618
    wzp
    Moderator

    1. I don’t know why the file name is different from what you think you uploaded 2 years ago. You can try renaming the file, in the bucket; or you can downloaded it and see what it is.

    2. The as3tp:// scheme is local to eStore. When eStore sees it, it knows that it should be converted into an expiring URL request. When the buyer is transferred to the S3 server, it is converted into an appropriate http:// or https:// request.

    Remember to ensure that your objects are private. Before the S3 Integration feature, people were using S3 to store files, but the only way to use eStore with it back then was to make the objects public.

    March 24, 2011 at 1:38 am #30619
    GraphicBass
    Member

    wzp, thanks for the reply.

    I did set my S3 for private.

    The S3 account is two years old, but I uploaded the files just recently when I realized I was filling up my wen server, and when I went to check, I saw only those odd file names I referenced in #1.

    After doing a search, I discovered an application (S3Hub for Mac OSX) that lets me see all files in the bucket, including a “subbucket” or subdirectory I had made. I believe the off files were remnants of files I uploaded into the bucket root, but then changed my mind and deleted them.

    I deleted the entire bucket, then created a new on for the subdirectory I wanted.

    I then uploaded a test file using S3Hub, then grabbed the URL, which looked like this “Deleted by admin”. So now I have a readable URL and know what the file contains.

    So from what you’re saying, after I plug this URL into the appropriate place for that product, WP eStore will convert to the proper URL with security credentials to hand off to Amazon.

    Correct?

    March 24, 2011 at 1:42 am #30620
    wzp
    Moderator

    When you set the product URL in eStore, the correct URI should be:

    Deleted by admin

    When eStore generates the encrypted link, it will convert the as3tp:// back into http://

    March 24, 2011 at 1:46 am #30621
    wzp
    Moderator

    Don’t forget to setup your keys in the settings page…

    March 25, 2011 at 4:06 pm #30622
    GraphicBass
    Member

    Thanks, wzp, for correcting my misunderstanding about the URL for the eStore product link. I would have fouled it up for sure.

    Yes, I did enter my two keys into the settings page.

    Now on to test a couple of products.

    gary

    March 27, 2011 at 4:43 pm #30623
    GraphicBass
    Member

    OK, I’m testing the download links from S3. How can I verify that the download is coming from my S3 bucket, and not from my own server?

    Thanks!

    gary

    March 27, 2011 at 5:05 pm #30624
    wzp
    Moderator

    Enable the debug logs. look in the download_manager_debug.log file. Instead of the usual method dispatch messages you will see as3tp dispatch messages.

    March 28, 2011 at 11:38 pm #30625
    GraphicBass
    Member

    Checked the log. Here’s what I have:

    ===

    [03/28/2011 11:27 PM] – Status : Resolved DL file path =

    Deleted by admin

    [03/28/2011 11:27 PM] – Status : Dispatching DL method = 1

    [03/28/2011 11:27 PM] – SUCCESS : DL completed with no server-side errors detected.

    [03/28/2011 11:32 PM] – Status : Unresolved DL file path =

    Deleted by admin

    [03/28/2011 11:32 PM] – Status : Resolved DL file path =

    Deleted by admin

    [03/28/2011 11:32 PM] – Status : Dispatching DL method = 1

    [03/28/2011 11:32 PM] – SUCCESS : DL completed with no server-side errors detected.

    [03/28/2011 11:37 PM] – Status : Unresolved DL file path =

    Deleted by admin

    [03/28/2011 11:37 PM] – Status : Resolved DL file path =

    Deleted by admin

    [03/28/2011 11:37 PM] – Status : Dispatching DL method = 1

    ===

    The download link is:

    Deleted by admin

    It’s pulling from my server rather than Amazon’s. I double-checked my AWS S3 access key and secret access key and they are correct in Add-on Settings. It also appears to be processing the link three times.

    Any ideas?

    gary

    April 14, 2011 at 6:29 am #30626
    GraphicBass
    Member

    I’ll see what I can find elsewhere to debug; obviously I’m entering the link incorrectly in eStore settings.

    gary

    April 14, 2011 at 10:37 am #30627
    wzp
    Moderator

    In the product URL, you must specify the URL as as3tp:// instead of http:// so that eStore knows to use S3 instead of your server.

    Examples of product URL that will invoke S3…

    as3tp://bucket.s3.amazonaws.com/object

    as3tp://bucket.s3.amazonaws.com/folder/object

    as3tps://bucket.s3.amazonaws.com/folder/folder/object

    as3tps://public@bucket.s3.amazonaws.com/object

    Replace “bucket,” “folder,” and “object” as appropriate.

    http://www.tipsandtricks-hq.com/ecommerce/amazon-web-services-simple-storage-service-aws-s3-integration-1101

    April 23, 2011 at 1:44 am #30628
    GraphicBass
    Member

    Sorry for the delay in answering. Been bogged down with other projects. I’ll work on this when my eyes are fresh in the morning. Thanks for the info!

    gary

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ