>  -----Original Message-----
> From:         Richard Kern  
> Sent: Monday, October 02, 2000 3:10 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      cfdirectory listing, 
> 
>       
> I am looking for some direction, here is the problem
> 
> The page allows the user to select the directory and a specific file to
> delete.  I want to exclude specific groups of file like *.cfm from the
> listing ( not using the filter on cfdirectory).  The approach so far is to
> use cfif but it is limited to specific files and I have a lot of file with
> similiar extensions.
> 
> So how do I restrict the cfdirectory or cfif or do I need to use another
> approach?
> 
> 
>       <CFDIRECTORY ACTION="LIST"
>              DIRECTORY="#walkdir#"
>              NAME="getFile">  
> ------------------------
> 
> 
>       <CFIF (Type is 'file') and (Name NEQ '.') and (Name NEQ '..') and
> (Name NEQ 'index.cfm') and (Name NEQ '*.cfm')>
>                       <A
> HREF="#CGI.SCRIPT_NAME#?Path=#WalkPath#\#Name#">#Name#</A>
> </CFIF>
> 
> Thanks,
> Richard
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.

Reply via email to