<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - CFML_Reference - Tags-pt121.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-26T05:54:02</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#33549" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#5061" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#2103" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#1345" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#296" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#659" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#33549">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#33549</link>
		<description>IMPORTANT NOTE (esp. important for coders using Fusebox):&lt;br /&gt;If you are inside a loop (using cfoutput or cloop) of a query generated by CFDIRECTORY, you *cannot* use the attributes scope! This is because within the loop. &quot;attributes&quot; is the name of one of the fields returned by CFDIRECTORY. If you're in a CFDIRECTORY loop and you try to set the value of, say, attributes.person_id, you will encounter genuinely odd errors like:&lt;br /&gt;&lt;br /&gt;You have attempted to dereference a scalar variable of type class coldfusion.sql.QueryColumn as a structure with members. &lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;The value &quot;person_id&quot; cannot be converted to a number.&lt;br /&gt;&lt;br /&gt;SOLUTION: a) don't use the attributes scope within the loop. b) if you need to use the attributes scope, either use QueryNew to construct a query using the results from CFDIRECTORY, or use Query of a Query and only pull in the name, datelastmodified, and type fields (for some reason, you can't retrieve the size field when doing a query of a query). Then, loop through this constructed query.</description>
		<dc:creator>tobylaroni</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-05-18T10:58:28</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#5061">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#5061</link>
		<description>Well cfdirectory used to do what I wanted it to and now it doesn't.  I want to list the files dynamically in the current directory...&lt;br /&gt;to bad you can't use &quot;.&quot; or &quot;..&quot; in for the directory attribute</description>
		<dc:creator>ReganEngamn</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-01-09T17:03:17</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#2103">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#2103</link>
		<description>it would be nice to know how to use the 'filter' attribute to EXCLUDE certain files or file types.&lt;br /&gt;&lt;br /&gt;For instance, if i wanted to list all the files in a directory that WERE NOT .CFM files, or were not specifically application.cfm, heaeder.cfm (or whatever)...&lt;br /&gt;&lt;br /&gt;One could of course filter them out after the fact during the cfoutput block, but it would be preferable to do it at the beginning</description>
		<dc:creator>sean9999</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-09-23T12:20:46</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#1345">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#1345</link>
		<description>ac: ascending (a to z) sort order is a typo.  It should be &quot;ASC&quot; for ascending order.</description>
		<dc:creator>Alex Peterson</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-08-18T11:43:52</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#296">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#296</link>
		<description>A quick test shows cfdirectory working with UNC and mapped drives, but that you have to be careful that you have the correct access permissions. When I ran CFMX as a Windows Service, I wasn't getting any results when I used cfdirectory to list a remote directory because CFMX runs  as System and Windows file sharing wasn't allowing access to System.</description>
		<dc:creator>hlichtin</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-01-28T15:31:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#659">
		<title>coldfusion/6/CFML_Reference/Tags-pt121.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt121.htm#659</link>
		<description>It seems that CFDIRECTORY can't work with mapped network drives or even UNC mappings.</description>
		<dc:creator>aeverett</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-08-26T19:54:00</dc:date>
	</item>
	</rdf:RDF>

