What are the other attributes to cgi that can be used?  Is ther one for the file
name?  Is this in any of the CF books out there?

Brian

-----Original Message-----
From: Greg Luce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 9:37 AM
To: CF-Talk
Subject: RE: Uploading zero-length files


I've done this:
<cfif cgi.content_length GT 3000>
because someone told me about some 1 byte gif or something that causes
ddamage. Also to limit huge files.

-----Original Message-----
From: jgeorges [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 26, 2002 10:21 AM
To: CF-Talk
Subject: Uploading zero-length files

I am uploading a file (that the user has identified in an input
type=file) using CFFILE. CFFILE does not allow zero length files.

Is there a way I can get the filesize before attempting the upload?

TIA,

Sam




------------------------------------------------
Changed your e-mail?  Keep your contacts!  Use this free e-mail change
of address service from Return Path.  Register now!


______________________________________________________________________
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to