There is an issue in Moodle where an unknown error occurs when trying to download a large file. The function is currently using the 'readfile()' function, in which is believed to be failing when trying to map memory in the PHP engine (possibility due to a PHP bug).
An alternative to this is to implement the use of a different streaming function which appears to successfully stream the file to the client without any problems.
- duplicates
-
MDL-29298 Downloads failing in moodle 2.1
-
- Closed
-