• Resolved gianni333

    (@gianni333)


    It seems that files over 1 GB are not downloaded completely when the download method “force downloads” is selected under woocommerce/settings/products/downloadable products. It only downloads parts of the .zip archive.

    What’s the solution to that?

    Thanks in advance for any help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @gianni333,

    Once the download starts in a customers browser there isn’t much, if anything, WooCommerce can do. I’m not certain then if a particular products download is consistently stopping at the same spot.

    Do you notice this happening when the zip file is over 1GB, and if so what’s the exact details of it? If you don’t use force downloads do things work as they should?

    Thread Starter gianni333

    (@gianni333)

    Hi and thanks for the answer. The problem exists for any file larger than 1 GB. It just stopps downloading after about 500 MB. This goes both for the “force downloads” and the “X-Accel-Redirect/X-Sendfile” option. I’ve read that “redirect only” should work, but I can’t use that option in order to protect the files.

    Thread Starter gianni333

    (@gianni333)

    My Server host just told me they are using litespeed (www.litespeedtech.com) on their servers. How can I make woocommerce use this method?

    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @gianni333 I just tested this out with differing results. I zipped up a movie from my hard drive and added it to my store:


    Link to image: http://cld.wthms.co/RnP2ca

    I then added it to a product and purchased that product:


    Link to image: http://cld.wthms.co/yl0gou

    From here, I downloaded the file without error:


    Link to image: http://cld.wthms.co/Q6D1kZ

    As can be seen, this was a 2gb file that downloaded fully with no issue. There must be something at the server level that is causing the downloads to fail.

    Side note: My personal server is a VPS with KnownHost, which is one of the partners on the LiteSpeed page.

    Thread Starter gianni333

    (@gianni333)

    Thanks a lot for the info, I will try to solve this issue with the host company then. The info I’ve gotten from them so far is that they do not have any download limits set, but they offered to help on finding the issue, so we’ll see what happens:)

    Jesse Pearson (a11n)

    (@jessepearson)

    Automattic Happiness Engineer

    @gianni333 Sounds good, I am going to mark this thread as resolved for now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with downloadable products over 1 GB’ is closed to new replies.