Free Downloads Zip sending corrupt files

Posted by: emiel sleegers

22nd June 2021, 12:07 pm

emiel sleegers

@emielsleegers

22 Jun 2021
12:07 pm

Hi there.

As of recent, there seems to be a problem with the free downloads plugin. Both the zip function and the per file function on images seems to send corrupt image files that are always an exact 73.849mb

Can someone help me with this problem as it has broken the entire use of my website.

website: artreference.org

  • Developer
    Richard Webster

    @rwebster

    23 Jun 2021
    8:04 am

    If your files are hosted externally, such as AWS, sometimes the zip function doesn't work because the AWS WooCommerce integration requires downloads redirect to the file. Is this the case with you?

  • emiel sleegers

    @emielsleegers

    23 Jun 2021
    8:37 am

    No, all the files are based on the server for me. no external files. this also always used to work up until 1-2 weeks ago.

    Richard Webster said on 23 Jun 2021, 8:04 am:

    If your files are hosted externally, such as AWS, sometimes the zip function doesn't work because the AWS WooCommerce integration requires downloads redirect to the file. Is this the case with you?

  • Developer
    Richard Webster

    @rwebster

    23 Jun 2021
    8:42 am

    Not sure what it could be then mate. Perform this test for me.

    Create an order for one of your free products you're having trouble with and assign it to you. Go to your account page and download the file for that sale, from the purchased downloads table.

    Let me know the result.

  • emiel sleegers

    @emielsleegers

    23 Jun 2021
    8:53 am

    I am having the same problem with every product on my store. however my store does not have accounts and the downloads are direct so i am not sure how i can do your test?

    So you do not think it is the plugin? i will also contact the hoster in that case to see if there is a problem server side that is limiting downloads.

    Richard Webster said on 23 Jun 2021, 8:42 am:

    Not sure what it could be then mate. Perform this test for me.

    Create an order for one of your free products you're having trouble with and assign it to you. Go to your account page and download the file for that sale, from the purchased downloads table.

    Let me know the result.

  • Developer
    Richard Webster

    @rwebster

    23 Jun 2021
    9:05 am

    You can test it with your own account.

    Edit:

    This is so you can test if file downloads actually work, when not using my free download method. So download an order file from your account.

    Last modified: 23rd June 2021, 9:06 am by Richard Webster

  • emiel sleegers

    @emielsleegers

    26 Jun 2021
    9:44 am

    It seems downloads are working like normal. is there maybe a way i can turn off direct download and rather when pressing the link have people go to a new tab where they can right click and save image? this is mostly for testing but i feel like there is a problem with the plugin because i also checked with my hoster who made no changes. turning off caching and cdn also makes no difference and i tried every setting in the plugin and no difference.

    Richard Webster said on 23 Jun 2021, 9:05 am:

    You can test it with your own account.

    Edit:

    This is so you can test if file downloads actually work, when not using my free download method. So download an order file from your account.

  • Developer
    Richard Webster

    @rwebster

    26 Jun 2021
    10:00 am

    Difficult to know since you had it working before a couple of weeks ago, and the plugin hasn't changed since then. Most likely something on your end has changed. Perhaps a htaccess or ini setting change.

    You could try:

    Set your multiple files display setting to Links Only, make sure you haven't selected the option to zip single files in the plugin general settings, and on your WooCommerce download method to redirect.

    Even try deactivating and deleting the plugin and reinstalling it.

    Failing that you might be best looking for another solution.

    Last modified: 26th June 2021, 10:01 am by Richard Webster