Question
Large CFFILE Uploads cause instant 404 error
I have the strangest issue. CFFILE uploads files up to about
2mb just fine but larger files cause a instantainious 404 error.
The address bar still shows the URL of the form page, not the
processing page. I have CFTRY implimented and it works - just not
if I try to upload a huge file.
If I understand correctly, an uploaded file from a form is placed in memory first, before reaching the CFFILE command. If this is true, I see no way to pre test the size of a file before upload because it would still be placed in memory (and error).
This leaves me with trying to find an elegant way to display the insufficiant memory error insteaqd of the 404 page.
Any suggestions?
Scott
Processing script attached:
=========================================
If I understand correctly, an uploaded file from a form is placed in memory first, before reaching the CFFILE command. If this is true, I see no way to pre test the size of a file before upload because it would still be placed in memory (and error).
This leaves me with trying to find an elegant way to display the insufficiant memory error insteaqd of the 404 page.
Any suggestions?
Scott
Processing script attached:
=========================================