> I don't think you can stop CFFILE, but you can manage the
> page after the cffile action.
>
> <CFIF cffile.ClientFileExt EQ 'jpg' or cffile.ClientFileExt EQ 'gif'>
>
> <CFELSE>
> <CFFILE ACTION="DELETE" FILE="#photo.name#">
> </CFIF>
You can stop CFFILE from accepting any files of unwanted MIME types using
the ACCEPT attribute. CFFILE will then throw an error if passed an unwanted
file, and you can catch that error in a CFTRY block.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.