September 13, 2010 at 6:33 am #1828amin007Participant
Every server has different configurations so even though one method of encrypted download may work fine on one server it may not on others. WP eStore offers various download methods so that you can choose a method that works best for your server.
Before tweaking and testing the various download methods it is a good idea to go through the following checklist and make sure you did not make any mistakes explained there:
Tweaking the eStore Download Methods
The default download method works on most servers but there will always be that 10%-15% of servers where it won’t. This is why in WP eStore we have added a few different download methods that you can choose if the default download method is not working on your server.
You can find the option to set a particular download method in the “WP eStore Download Manager Related” settings which is located in the “AddOn Settings” tab under the eStore settings menu.
WP eStore Settings -> AddOn Settings -> WP eStore Download Manager Related
If you are having a download issue for a large file then try using download method 2 or 6 which seem to work better for large files.
Feel free to share which method worked for you so we can continue to fine tune them.
Other Possible Workarounds for Large File Download Problem
Don’t forget to read the other possible workarounds for a large file download option explained here:October 8, 2010 at 12:49 pm #24213sayWhatMember
But what exactly ARE the 6 different download methods? I’m having some problems with large files and wonder what the difference is with each method? Not finding any info on this elsewhere so far.October 8, 2010 at 2:38 pm #24214
I know that, unless you have a bit of “code monkey” in you, these descriptions won’t help much… but these descriptions are based upon the characteristics of each possible download method:
(Default) 1. Fopen using 8K chunks with closed session.
2. Readfile using 1M chunks remote stream.
4. Readfile using 1M chunks local.
5. Fopen using 8K chunks with opened session.
6. Fopen using 1M chunks with closed session.
There is also a 7th method, “cURL” that is (currently) only invoked if URL aware fopens are disabled.October 8, 2010 at 11:43 pm #24215sayWhatMember
Thanks for the reply! This actually helps me wrap my head around what’s going on a bit better. Right now I’m struggling with getting a huge 1.5GB file (client’s really long documentary) to download while still keeping the encrypted link… It keeps stopping at 41.1 MB… Can’t for the life of me seem to figure out a reasonable workaround yet.October 9, 2010 at 12:04 am #24216
If this is a streaming video, have you tried using the PPV option?October 9, 2010 at 11:49 am #24217
If you upgrade to version 4.4.7, you’ll notice that:
1. The methods now have descriptions to go with the numbers.
2. A 7th method has been added to the menu.
Note: Method 7 will only show up in the menu if the cURL library is installed on your server.October 12, 2010 at 9:06 pm #24218maniaMember
I have just upgraded but I got version 4.4.8. Can you tell me why the newest version doesn’t have this settings?October 12, 2010 at 11:31 pm #24219
Is the question “Why don’t you see Method 7,” or “Where do you select the download methods?”
Method 7 will only show up if your server has the cURL library installed.
The download methods are on the “Addon Settings” tab of the eStore Settings page.March 28, 2011 at 7:43 pm #24220andersvintherMember
I seem to have a problem downloading PDF files over 8mb of size.
I have different files with the following sizes:
– 129 KB
– 6 MB
– 307 KB
– 7 MB
– 8 MB
– 9 MB
– 12 MB
I can download all files apart from the 9 and 12 MB files…
When I try to download those I get a 0 byte file.
I can download these files by pasting the full url into my browser, so the files are OK.
I enabled debugging in the download manager and got a bunch of these:
[03/28/2011 7:25 PM] – Status : Unresolved DL file path = http://www.xxxx.com/wp-content/documents/yyyy.pdf
[03/28/2011 7:25 PM] – Status : Resolved DL file path = /home/xxxx/public_html/xxxxx/wp-content/documents/yyyyy.pdf
[03/28/2011 7:25 PM] – Status : Dispatching DL method = 4
I tried all the different download methods but no luck. I also have method 7 curl, and tried this with “Do not convert”. The other options I tried with the default option for URL conversion.
This page http://www.tipsandtricks-hq.com/ecommerce/selling-large-files-with-wp-estore-796 suggests another option: “If you server supports mod_xsendfile (its an Apache module to handle large file downloads) then we can configure eStore to work with “mod_xsendfile” so large files can be downloaded without any issues.”
However I have not been able to find any information on mod_xsendfile and wp-eStore…
What can I do?
Thanks!March 28, 2011 at 8:45 pm #24221
First, Ask your provider if mod_xsendfile is supported. I’ll let Amin address mod_xsendfile setup.
Amazon S3 integration is highly recommended and has solved many of the problems users have been having. it is also ideal, because Amazon is offering the first year for free, and many others have been reporting payments of only 14 cents a month.March 28, 2011 at 11:41 pm #24222andersvintherMember
Thanks for your feedback…
I am using (or more accurately I will be using) the PDF stamper too, and as far as I know it does not work with Amazon S3 – or am I wrong?
I would have thought I’d be able to download more than 9 MB – I’ve seen others mention 1,5 GB…
What’s your experience?
Hmmm… not to worry about the mod_xsendfile… my host doesn’t support it…
Have a fine day!March 29, 2011 at 12:51 am #24223
PDF Stamper, unfortunately, only supports stamping of local files. The ability to download large file from the host, seems to be tied to the quality of the hosting service and configuration. I’m sure Amin can be more specific.July 10, 2011 at 5:34 pm #24224motaviMember
Oh that is no good as I have a pdf book which is 22 meg….has this been updated as I tried another software program but the support was so bad I gave up.July 11, 2011 at 12:57 am #24225amin007Participant
If you are going to use the PDF stamper to stamp the PDF files then the file need to hosted on your server simply because the PDF stamper can only modify files that are local to the application. Downloading a file from an external server is not the same as stamping a file. Stamping involves modifying a file and you cannot modify an external file for obvious security reasons.September 2, 2013 at 9:40 pm #24226dhellisSpectator
I am having problems with downloading one of my products that is in a .zip format. The file comes down as being 0 bytes. I have followed all of the setup requirements for WP Super Cache and have tried all of the different ( download settings.
Interesting to note that when I use Safari web browser I can see a message that says
As a final attempt I moved that file to my dropbox ‘Public’ folder where it still fails to download. Using the direct link to dropbox works.
- You must be logged in to reply to this topic.