Use CFTRY CFCATCH to catch the barf
> -----Original Message-----
> From: Milks, Jim [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 13, 2000 1:33 PM
> To: CF-Talk
> Subject: Preventing zero-length file uploads to CFFILE
>
>
> Hi all,
> I stumbled on an odd situatiuon, but need to fix it. IF you
> try to UPLOAD a
> file with CFFILE that is 0 kb in size, CFFILE barfs. How can
> I restrict
> this? I can't read the file until it is on my web server to
> determine the
> file size. JavaScript can't do it either...
>
> Help...
>
> Jim
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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