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

Creating Encrypted Download Links Manually

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Creating Encrypted Download Links Manually

Tagged: amazon s3, Amazon s3 download iink, amazon s3 downloand link, estore, Invisible Characters

  • This topic has 23 replies, 6 voices, and was last updated 11 years, 5 months ago by fegido.
Viewing 15 posts - 1 through 15 (of 24 total)
1 2 →
  • Author
    Posts
  • October 26, 2010 at 1:27 pm #2112
    bentley74
    Member

    I’d like to give products away free to a small group of people, but don’t want to show them the source of the file. Is there some way to manually create an encrypted link that can then be added to an email (sent to group)?

    Thanks

    October 26, 2010 at 8:21 pm #25815
    wzp
    Moderator

    Yes!

    WP eStore -> Admin Functions -> Generate An Encrypted Download Link

    8)

    October 27, 2010 at 2:08 am #25816
    bentley74
    Member

    Awesome! Thanks!

    January 15, 2013 at 1:37 pm #25817
    johnkuypers
    Member

    I am having trouble with this exact issue. I generate an encrypted URL but it doesn’t work. I get this:

    <Error>

    NoSuchKey

    <Message>The specified key does not exist.</Message>

    <Key>MYIS/01mp3</Key>

    <RequestId>15A77EA1C7C008FA</RequestId>

    <HostId>

    59S3NweXn2e4UD1nxByH6reSQgMXcCJ1nmXdY5njoJeHPaSpj0YD62wRXEDd+b2d

    </HostId>

    </Error>

    Could you help me understand what to do? I have the product ID correct. The file downloads no problem when ordered. The problem is a customer who let his link expire and now I need to generate a new link. Thanks! John

    January 15, 2013 at 3:16 pm #25818
    wzp
    Moderator

    That message looks like it is coming from Amazon. It means that there is something wrong with your Amazon S3 integration setup.

    Did you remember to tell eStore what your AWS keys are?

    What is the AS3TP URI that you specified for the file? It’s OK to post it here, because we don’t know what your AWS keys are.

    Did you fully read the documentation for it?

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

    January 22, 2014 at 2:52 am #25819
    veramilo
    Spectator

    I’m getting the same error message as the previous user. I signed up for AS3 to get around the file size limit I was experiencing, and now I have problems with this, too.

    I followed all the AS3 integration instructions in the link, re-checked my Addon settings for AS3, and my URL and ID # in the shortcode. But I’m applying it to the [wp_eStore_download_now_button id=2] short code.

    This is the product URL (no extraneous spaces), and I also tried it with as3tps:

    as3tp://marshallart-tests.s3.amazonaws.com/animal/animalSample2.mp4


    All the forum posts I found are at least a year old. Has something changed in the setup requirements? Or is it that AS3 doesn’t work with download buttons?

    January 22, 2014 at 3:51 am #25820
    wzp
    Moderator

    Oh yes, it does work with buttons… 8)

    First, enable the eStore debug logs. Then reset the debug logs, and try pushing your button. Then check the download_manager_debug.log file to make sure the download is properly dispatched to Amazon.

    Now, you will either get an error in the logs, or an error on the browser screen when it tries to dispatch to Amazon. Which is it, and what does the message say?

    Also note, that Amazon object names are case sensitive. “animalSample2” is not the same as “animalsample2” to Amazon.

    January 24, 2014 at 6:02 am #25821
    veramilo
    Spectator

    dl manager log reads like this after resetting and then pressing the download button:

    [01/24/2014 5:56 AM] – Advisory : Log file reset.

    Error on screen after pressing download button on this page (I deleted info that I thought might be sensitive):

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    <Error>

    NoSuchKey

    <Message>The specified key does not exist.</Message>

    <Key>animal/animalSample2.mp4</Key>

    <RequestId>long string of random characters</RequestId>

    <HostId>

    long string of random characters

    </HostId>

    </Error>

    I noticed that the Amazon console looks different than the one in the tutorial video. Might they also have made changes to the process?

    Here is the page with my button:

    http://marshallart.com/news/blog/products/videos/testing-download-page/

    January 24, 2014 at 3:07 pm #25822
    wzp
    Moderator

    There is nothing wrong with the plugin. When you see “The specified key” is the animal/animalSample2.mp4 file, it means Amazon can’t find the file in your bucket.

    The usual reasons I can think of are:

    1. The case of the object name in your bucket does not match the case used in the product URI.

    2. There is a non-visible character (trailing space) in your product URI, or in the object name inside your bucket.

    January 24, 2014 at 6:08 pm #25823
    fegido
    Member

    Hi

    I am using the same approach, but instead of downloading the file (mp4) it tries to display it.

    This is the delivery log:

    [01/24/2014 5:49 PM] – Status : Link details retrieved using file key. Link ID: 12

    [01/24/2014 5:49 PM] – Status : Handing download request from IP Address: ::1

    [01/24/2014 5:49 PM] – Status : AS3TP URI request = as3tp://…

    [01/24/2014 5:49 PM] – Status : Dispatching AS3TP URL = …

    How can I solve it?

    Thanks

    January 24, 2014 at 7:05 pm #25824
    fegido
    Member

    When trying the page on Firefox I get an error saying, video can not be played because file is corrupt

    January 24, 2014 at 8:08 pm #25825
    wzp
    Moderator

    1. What about other browsers?

    2. Do you download the file first, or is it trying to play while downloading?

    January 24, 2014 at 11:30 pm #25826
    admin
    Keymaster

    I think the following is what you want:

    https://support.tipsandtricks-hq.com/forums/topic/force-a-file-to-download-instead-of-showing-up-in-the-browser

    January 25, 2014 at 12:59 am #25827
    veramilo
    Spectator

    The usual reasons I can think of are:

    1. The case of the object name in your bucket does not match the case used in the product URI.

    2. There is a non-visible character (trailing space) in your product URI, or in the object name inside your bucket.

    I already checked my files/folders/accesskeys for trailing spaces but just checked again and also checked the actual file names for spaces, which I hadn’t tried before because I was copy/pasting from the properties panel. I didn’t detect any spaces so I uploaded a different test in a new folder and set up a new URI and download button on the same page as the other. I copy/pasted names per the video instructions once again so there couldn’t have been keyed typos or case errors & I checked for spaces. Same results.

    BTW: I also tried sending myself an encrypted link via the Admin Functions panel for all of these tests. No difference, although the earlier links have expired so for this link I set the expiration time very high.

    Is there anything else I can try?

    I am using WordPress 3.8.1 and I purchased eStore last week.

    January 25, 2014 at 1:32 am #25828
    wzp
    Moderator

    Yes, you can try MANUALLY TYPING the paths.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 24 total)
1 2 →
  • 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