Hi,
I have made it dynamic based on the what the server thinks the limit is. when you turn off the advanced uploader what does wordpress say the upload limit? can you upload a file of that size?
Thread Starter
dweide
(@dweide)
Hi,
when I use the standfard uploader amyx filesize of 107MB is displayed, this corresponds to the Settings I already made in php.ini etc.
And an upload of that size works OK.
But the problem seems to be the loadbalancer that is transparent to your plugin, so I guess there is no way to autodetect that.
The desired filesize for our purpose is way above 1GB and I don’t think I can push the buffers that far.
If you could pinpoint the code lines I would try to modify and test on my own…..
Thanks for your reply!
Hi,
the easiest way would be change the upload script to adjust the transport overhead.
edit line 97 of advanced-uploader/js/upload.js to change overhead size. currently it is set to 2kbytes.
you will also need to edit line 270 of advanced-uploader/upload.php to remove the min from the filename.
let me know if that helps.
Oli