I would like to trap a CFFILE error using CFTRY/CFCATCH if the user submits 
a bad file type. I only want to allow them to upload .gif files.

I can use the CFCATCH TYPE="Any" to trap it, but I was hoping that I could 
trap specifically for a bad file type.

I noticed that there are a whole slew of "advanced" exception types starting 
with COM.* listed in the documentation, but I can't find one for a bad file 
type.

Can one of those advanced types or a regular type be used other than "Any"?

Thanks,
Dave.


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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