ColdFusion has no way of knowing what the file size is BEFORE it reaches the
server. The way i've done it is allow the full file to be uploaded, check
the file size (CFFILE) and then delete it. Of course, the system will warn
the user that the file they uploaded was too big AFTER CF has checked it.

It's not a pretty solution, but it's the only one that semi-accomplishes the
task.

HTH...

Andres.

-----Original Message-----
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 12:11 PM
To: CF-Talk
Subject: ColdFusion File Handling


We got a bunch of file uploading forms.  we want the max file size to be
5mb.  is there a way coldfusion can check the file size without having the
file being fully uploaded on the computer? please reply soon!

thanx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to