----- Original Message -----
From: "Bryan Love" <[EMAIL PROTECTED]>
> Does anyone know if there is a file upload size limit for <input
> type="file">...?
---------------------------

Check the archives on this - it's been discussed a few times - but I think
it's down to the memory on your server. The limit is, as much as your server
RAM can take without bringing the web server itself to its knees... Or, if
you're prudent, a good deal less than *that* ;-)

I think there's sometimes a little confusion with CFFILE set to "upload".
When it says "upload", it actually means, write the file in the server's
memory to the hard disk. If you have your form configured right, the file is
actually uploaded to the server whether you use CFFILE for that request or
not.

Something else that often comes along with these things is questions about
client-side file size validation... I think that's down to ActiveX etc. As
for server-side validation, check Val(CGI.CONTENT_LENGTH) - this is the size
in bytes of the request sent to the server. Unless your form contains a good
load of text fields, this should give you a good enough estimate of the file
uploaded with the form.

HTH,

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to