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

eStore – Selecting a Download Method

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – Selecting a Download Method

Tagged: amazon s3, Download Method

  • This topic has 5 replies, 2 voices, and was last updated 12 years, 11 months ago by wzp.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 1, 2012 at 1:52 pm #6486
    thehigheredcio
    Member

    WP v3.3.2

    WP eStore v6.5.4 with Extra Shortcodes WP eStore v4.3.8

    Download Method Config

    Automatic URL Conversion Preference – (Default) Absolute

    Download Method – (Default) Method 1, Fopen-8K

    Problem:

    Users are experiencing the either the Zero Bits (empty file) or Corrupted file error on downloads. This problem is intermittent, sometimes 1 or 2 out of 15-20/day then none for days. It is occurring across most browsers (IE 7&8, Chrome, maybe Firefox)and email clients (Outlook & Gmail). My largest file is only 3.6MB with most of them being less than 1MB.

    I have gone through the T&T Zero Bit checklist removing the .htaccess from the eStore Download folder. I found the following in the Download Manager Debug log:

    [06/01/2012 10:26 AM] – Status : Unresolved DL file path = http://mydomain.com/products/Product_File.docx

    [06/01/2012 10:26 AM] – Status : Resolved DL file path = http://mydomain.com/products/Product_File.docx

    [06/01/2012 10:26 AM] – Advisory : No DL file path conversion performed on URL.

    [06/01/2012 10:26 AM] – Advisory : URL aware fropen() disabled, forcing cURL…

    [06/01/2012 10:26 AM] – Status : Dispatching DL method = 7

    [06/01/2012 10:26 AM] – SUCCESS : DL completed with no server-side errors detected.

    In reviewing the log the only variation I see is that some sequences do not have the SUCCESS entry. Other than that no signs of any other issue.

    Questions:

    Should I just set the Download Method to cURL (Method 7), or should I take a different approach. I do not know which one to choose and I cannot find explanations on any of the 8 methods (I read the eStore Download Method T&T post).

    June 1, 2012 at 2:06 pm #45763
    wzp
    Moderator

    Since you obviously support cURL, you might as well directly use Method 7. The fopen() advisory indicates that your hosting provider has “gone wild” on the PHP security settings; which means that selecting any of the other methods will cause eStore to fallback onto Method 7.

    Your statistics suggest there is little you can do, besides using the Amazon S3 integration feature, to eliminate all the download failures.

    Do you have any information about the geographical location of the failed downloads?

    June 1, 2012 at 3:47 pm #45764
    thehigheredcio
    Member

    I made the change to cURL and cleared my logs.

    I do have some failures from US based users but I did not look up what state they are in. It does appear that at least half, perhaps more than half (~75%) are international users. UK, Canada, Russia, India, Austria, Australia, and several from South Africa.

    If I do move over to using Amazon S3, is there a preferred Download Method for S3?

    June 1, 2012 at 4:37 pm #45765
    wzp
    Moderator

    It appears that the failures may be network latency related. In which case, Amazon S3 use will most certainly resolve the problems.

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

    When you use Amazon S3 integration, the download method settings are overridden, for S3 downloads, but will still apply to non S3 downloads. Use of S3 integration is not an all or nothing affair.

    June 3, 2012 at 5:03 pm #45766
    thehigheredcio
    Member

    I set up S3 and migrated my files over and tested them all with no errors and much better download performance speeds. I have an S3 security concern I will open in a new post and revert back until this issue is resolved.

    June 3, 2012 at 5:51 pm #45767
    wzp
    Moderator

    Your question has been addressed.

    https://support.tipsandtricks-hq.com/forums/topic/security-with-s3-on-digital-downloads

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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