Categories: Additional Resources
WP eStore does not impose any restriction on the downloadable file size. As long as your server can handle it eStore will be fine. We have users serving files as big as 8 Giga bytes (GB) in size using the eStore plugin.
With that said, WP eStore sits between the actual file and the browser creating a shield (this is how eStore keeps the true location of the file hidden). However this means that eStore has to read the file and serve it to the browser (meaning the file will be temporarily loaded in your server’s RAM). If you are selling large files and your hosting plan has a limited RAM available for you to use then this could create a file download issue (the file won’t be downloaded fully).
When hosting companies refer to *unlimited* disk space they refer to the hard disk space not the RAM memory size. So make sure to ask your hosting provider how much RAM memory is available to your PHP application. To better understand this… imagine a computer having 500GB hard disk but having only 32MB RAM (see the difference between them?).
There are a few possible workarounds that can be tried:
- You could break the bigger file into multiple parts (e.g. each 50MB) and use the multi-part download option of eStore.
- Try one of the other download methods explained here and see how you go (there are a few different ways to get around this depending on your server’s configuration but it may not work on all servers).
- Use the Amazon S3 Integration option of eStore.
- You could uncheck the “downloadable” checkbox for the products (look under the “Digital Content Details” section of the product) with bigger download (this will force eStore to let the browser handle the download but it means that the customer will be able to find out the real location of the file).
- 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.
- You can upgrade your hosting to a plan with enough RAM.
The bottom line is… Please make sure to check with your service provider about any upload/download restrictions or the available server RAM your hosting plan may have before you purchase the eStore plugin.