Why not just <cfdirectory action="directory action"
directory="#expandpath('.')#/images/tour">

-----Original Message-----
From: Webmaster [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 3:40 PM
To: CF-Talk
Subject: RE: cfdirectory


<cfdirectory ACTION="directory action"
      DIRECTORY="#expandPath(images/tour)#">


the actual physical path is: E:\site\images\tour

the template is in the site dir and I want to go to the tour dir.. Am I
correct in the way I have it formatted?

I can't use that because of where we are hosting they will not give me the
physical paths.

-----Original Message-----
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:20 PM
To: CF-Talk
Subject: RE: cfdirectory


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)#">





______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to