catoegroup / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

Unable to modify max file size #520

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upload a file over ~2MB
2. You get HTML Error
3. It sends you to a blank "upload-process-form" page.

What is the expected output? What do you see instead?
I have modified > define('MAX_FILESIZE',2048); to 10000, and even after 
restarting PHP and NGINX, and even the server, I am still unable to upload 
large files.

What version of the product are you using? On what operating system?
I'm running the latest version on Ubuntu Linux 14.04, using an NGINX web server 
and php5-fpm.

Please provide any additional information below.
Please note, uploading files under 2MB works perfectly.

Original issue reported on code.google.com by puur...@gmail.com on 17 Jan 2015 at 9:48

GoogleCodeExporter commented 8 years ago
I've resolved this. It was not an issue with my PHP or the ProjectSend config, 
it was the fact that I was missing two lines in my NGINX configuration:
        keepalive_timeout 10000;
        client_max_body_size 300M;

I hope this can help someone else.

Original comment by puur...@gmail.com on 17 Jan 2015 at 11:38