You can try using CGI.CONTENT_LENGTH to get a general idea of the size of the file being uploaded. It won't be exact, since all of the HTTP header information is included in that number, but it'll give you a ballpark figure.
> -----Original Message----- > From: Bonnie E. Betts [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 12, 2002 4:33 PM > To: CF-Talk > Subject: QUESTION: how to limit uploading files with large filesize > > > I need to limit the size of the files users are uploading > onto my server. I'm using straight input type of file on the > form and then cffile to upload. I've read up on cffile and > it seems that AFTER I've uploaded I can use the parameter of > filesize but then that's a bit too late. ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

