<cfdirectory action="LIST" directory="#whatever#" name="GetFiles">
<cfoutput query="GetFiles"> <cfif type is "FILE"> #name# #size# #dateLastModified#<br> </cfif> </cfoutput> jon ----- Original Message ----- From: "Tyler Silcox" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 9:01 PM Subject: Quick cfdirectory ?... > Is it possible to keep the "Dir" Types out of my query for cfdirectory? > With a filter maybe? This is what I got's: > > <cfdirectory name="myQueryName" action="LIST" > directory="#request.Path.FileDir#filez\"> > > and it returns: > > ".", "..", "file01", "file02", "file03", etc. Can I throw a filter > attribute on the cfdirectory? I can figure out how to make it return all > the *.wma files, but I can't figure out how to just give me back Type=File, > (Type is a returned column when using cfdirectory) and not the Type=Dir. > And I've got it doing basically what I want, which is excluding the Dir > Types, with some cfifs, but I'd rather leave them out of the over all > picture. Any assistance would be greatly appreciated... > > Tyler > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists