Nope. We all wish that CF did though.

You could also add some client side checking to save the wasted upload.

Adrian

> -----Original Message-----
> From: Imperial, Robert [mailto:[EMAIL PROTECTED]
> Sent: 08 December 2008 20:43
> To: cf-newbie
> Subject: catching mime type
> 
> Hello again,
> 
> 
> 
> I am working on a simple upload utility and was wondering if there is a
> way to catch the mime type before it hits the cffile action? I am using
> the filter attribute to limit the upload to pdf docs but of course that
> displays an ugly cf error message that I'd rather head off beforehand.
> Any ideas on how to go about checking for this before the cffile goes
> to
> work? TIA!
> 
> 
> 
> Bob


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4229
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to