Best way to handle LARGE files?
-
A user of one of my sites just wanted to put a 130MB file up. This is larger than PHP’s max_upload setting, and I’m not at liberty to change the setting. (I’m not sure it’s a good idea to do so anyway.)
I had the user upload a “placeholder” file, then I put the real file over it outside WordPress (via SFTP).
This worked, but the media details page now has incorrect information. It has the file size and MIME type of the original file as uploaded, not the one that replaced it.
First, how do I correct this?
Second, is this the best practice for handling files larger than what a given server’s PHP upload settings will allow? (If not, what should I have done instead?)
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Best way to handle LARGE files?’ is closed to new replies.