• Resolved icakeov

    (@itucakov)


    Hello,

    I am testing selling pdf books with WooCommerce. I’ve gotten it all working, except, when downloading, only a fraction of the file gets downloaded. The original is about 600mb big, and only somewhere around 200 and 300mb gets downloaded.

    Is there a reason why this could be cutting off? Perhaps a limit set by my hosting account? Or should I make sure to zip the file, I haven’t tried that option yet.

    Any feedback appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • I do this, but with even larger files, up to 3GB.

    To do this without download/timeout issues (that is what is causing the issue) you will need to use mod_Xsendfile on Apache (if you are not using Apache, I can’t help).

    You will find that it is no longer maintained, however, there is no replacement for this (that I can find), and it works fine on the latest Apache 2.4 version, PHP 7.3, WordPress and Woocommerce versions.

    Hope this helps?

    Hey @itucakov,

    Another option would be to use a service like Amazon S3 to serve the files. There is a WooCommerce extension you can use to integrate their S3 service into your store. It can handle very large file transfers and serve the files securely.

    https://woocommerce.com/products/amazon-s3-storage/

    If you have any questions, please let me know.

    Cheers

    Hi there,

    We have not heard back from you in a bit, so I will go ahead and close this thread.

    If you continue to have the current issue please reply and let us know, otherwise if you have a new issue open a new thread.

    Thread Starter icakeov

    (@itucakov)

    Thank you! I managed to solve this issue by uploading the file onto drobpox and there were some adjustments I needed to do to make it work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Selling large downloadable files’ is closed to new replies.