• 5 years

    1 year

    YetiShare / Core


Uploading large files not working when using FTP/S3 storage


When using a FTP or S3 server for storage, you try to upload a large file and it fails. Smaller files work ok.


This is an issue with PHP not having access to enough memory to process the request. To fix it add this line at the end of your file (in the script root folder):

ini_set('memory_limit', '2048M');

You should set this limit to the maximum permitted filesize you're allowing on upload. Note: 2048M may be the maximum on a 32 bit system.