Stretchwickster
Programmer
Hi there,
A while back, I wrote a file upload script which has worked fine for file uploads less than 12MB (a limit I set via a php.ini file). I've now increased the limit to 30MB and files still upload without a problem. When a file is uploaded an email is generated which contains a URL corresponding to the location of the uploaded file. Normally when a file has been uploaded, clicking the email link initiates the download in a web browser.
To test the new 30MB filesize limit, I uploaded a 29MB file successfully but when clicking the email link to download the uploaded file, the server consistently issues a 403 (Forbidden) error page instead of allowing the file to be downloaded.
I can download the file via an FTP client so I know it's not a problem with the file itself.
Would there be some setting in php.ini which is limiting the size of downloadable files? If not, can anyone suggest a likely reason for this behaviour?
Your advice would be much appreciated!
Clive
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
A while back, I wrote a file upload script which has worked fine for file uploads less than 12MB (a limit I set via a php.ini file). I've now increased the limit to 30MB and files still upload without a problem. When a file is uploaded an email is generated which contains a URL corresponding to the location of the uploaded file. Normally when a file has been uploaded, clicking the email link initiates the download in a web browser.
To test the new 30MB filesize limit, I uploaded a 29MB file successfully but when clicking the email link to download the uploaded file, the server consistently issues a 403 (Forbidden) error page instead of allowing the file to be downloaded.
I can download the file via an FTP client so I know it's not a problem with the file itself.
Would there be some setting in php.ini which is limiting the size of downloadable files? If not, can anyone suggest a likely reason for this behaviour?
Your advice would be much appreciated!
Clive
![Runner_1Revised.gif](http://www.slydance.com/images/Runner_1Revised.gif)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer." (Paul Ehrlich)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096