<cfdirectory
action = ""> directory = "c:\inetpub\wwwroot\RMG\events"
name = "getFiles"
filter = "_#date#-#id#*.cfm"
sort = "name"
>
If I do a #ListLen(eventFiles)#
I get the complex object type error.
An abbreviated cfdump is below:
ATTRIBUTES DATELASTMODIFIED MODE NAME SIZE TYPE
1 [empty string] 05/17/2004 07:12:11 PM [empty string]
_2004-44-brochure.cfm 79 File
Gil
-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 11:09 PM
To: CF-Talk
Subject: RE: using the result of CFDIRECTORY as a list
what happens if you cfdump the results, doesnt it look like a query?
can you valueList() the getDirectory_QueryName.fileName
or whatever the variable is called to get a list?
....tony
Tony Weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
410.548.2337
www.navtrak.net
-----Original Message-----
From: mayo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 12:06 AM
To: CF-Talk
Subject: using the result of CFDIRECTORY as a list
I'm using CFDIRECTORY to get a list of files that meet certain
parameters.
Sometimes one of the file doesn't exist. And here's the trouble. I can't
seem to use CFDIRECTORY as a list. I keep getting the "complex object
type" error.
I can produce a list of a files that should exist, I would like to
compare that to the files that do exist.
Been spinning my wheels on this one.
Gil Midonnet
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

