seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.44k stars 229 forks source link

Audiobooks the exceed 120MB will not download. Is there a way to increase this limit in my server? #297

Closed alanjross closed 8 years ago

Ecksters commented 8 years ago

Seems like your PHP settings could potentially limit a download size(timeouts, etc.)

http://stackoverflow.com/questions/19509440/increase-the-limit-of-file-download-size-in-document-management-system

Of course it depends what server you're using.

seblucas commented 8 years ago

You have many options :

I'm using X-Accel-Redirect and I downloaded a 1Go test file without any problem (that was many years ago, but I'm confident it still works).

alanjross commented 8 years ago

I thank both of you for your help. It took me a while to figure out that my Synology server had 4 php.ini files in different locations, and they all had to be edited to effect the solution. I used the all setting mods suggested in your stackoverflow.com link, and turned off output buffering. I no longer get the http 500 error with larger downloads. Thanks again! Alan


From: Daniel Eck [mailto:notifications@github.com] Sent: Monday, October 17, 2016 5:11 PM To: seblucas/cops cops@noreply.github.com Cc: alanjross alanjross@gmail.com; Author author@noreply.github.com Subject: Re: [seblucas/cops] Audiobooks the exceed 120MB will not download. Is there a way to increase this limit in my server? (#297)

Seems like your PHP settings could potentially limit a download size(timeouts, etc.)

http://stackoverflow.com/questions/19509440/increase-the-limit-of-file-download-size-in-document-management-system

Of course it depends what server you're using.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/seblucas/cops/issues/297#issuecomment-254335254, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV1jUxUNsIhrLZGE6WcAoJjO5bcomEC8ks5q0-RrgaJpZM4KZGw_.