Have you tried restricting the MIME type in the CFFILE upload tag itself? "ACCEPT: Limits the MIME types to accept. Comma-delimited list. For example, to permit JPG and Microsoft Word file uploads: accept = "image/jpg, application/msword" The browser uses file extension to determine file type."
-Gel -----Original Message----- From: YC Nyon [mailto:[EMAIL PROTECTED] Sent: Monday, September 01, 2003 3:20 AM To: CF-Talk Subject: RE: Filter file type upload I want to set a file filter and file size upload contraint. got the file size working. <CFIF VAL(CGI.CONTENT_LENGTH) GT 2000000> <span class="text"><font face="verdana, arial" size="2" color="black"> Upload file size exceeds the 2MB limit.<br> <a href="Javascript:history.go(-1)">Try again</a>?</span></font> <CFABORT> </cfif> However, I'm can't figure how to filter out *.zip files only. Nyon --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.509 / Virus Database: 306 - Release Date: 12/08/2003 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm