I'm trying to download large files (the aim is to download films).
I'm just trying yet with a pdf file of 14Mo.
The download starts, and ends at 5Mo before the end of the file. Then the file downloaded is corrupted and can't be opened.
I've tried with 2 methods: readfile, fread with buffer.
Have any idea?