Configuration needed for large files

nextcloudYou may find that when users try to download a large file that you've shared, they get a 'Failed - Network error' message, and the download doesn't complete. This article describes a solution that worked for me.


On your web server locate the relevant php.ini file and add / amend the following:

upload_max_filesize = 2G
post_max_size = 2G

Additionally if you find that downloads are timing out, you might add the following lines:

max_input_time = 3600
max_execution_time = 3600


Thanks for visiting.