WP Download Codes
[resolved] Add support for mod_xsendfile to help with failed downloads (3 posts)

  1. bit32
    Posted 2 years ago #

    It appears several people here have been having problems with downloads not fully downloading (download finishes early, usually at a similar filesize).

    In my case this seems to be related to the speed at which the download happens (and thus overall length of time taken to download).

    Works fine over my 15megabit connection but not if i limit my download speed to say 500kB/s.

    I have tried increasing both the max_execution_time (now set as 1800 seconds) and the memory_limit (set to 512MB - downloads are ~300MB) however this has not imporved the situation.

    I noticed that the Download & Donate plugin features support for mod_xsendfile:




    Would you perhaps consider adding support for this?



  2. misanthrop
    Plugin Author

    Posted 1 year ago #

    I have logged your request in the plugin's feature backlog. And I will do my best to get it implemented in the next versions.

  3. misanthrop
    Plugin Author

    Posted 1 year ago #

    I found some time to implemented to x-sendfile approach in the latest version 2.4.0. You can now check this setting on the settings page, then the file is downloaded using the x-sendfile header. Of course this requires your server to support this according to https://tn123.org/mod_xsendfile/. Hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Download Codes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic