and keep in mind that expandpath() evaluates a templates full path FROM THE
CALLING TEMPLATE - NOT from the current web location.
+-----------------------------------------------+
Bryan Love
Macromedia Certified Professional
Internet Application Developer
Database Analyst
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+
"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis
-----Original Message-----
From: Webmaster [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:19 PM
To: CF-Talk
Subject: RE: cfdirectory
I tried and got an error evaluating expression..
-----Original Message-----
From: Rocky Palladino [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 1:38 PM
To: CF-Talk
Subject: Re: cfdirectory
> Is there any way to use cfdirectory this way in CF 4.5:
>
> <cfdirectory ACTION="directory action"
> DIRECTORY="../directory/files">
Did you try using the expandPath() function around your relative path?
<cfdirectory ACTION="directory action"
DIRECTORY="#expandPath(../directory/files)#">
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists