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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to