I believe you're looking for this:
expandPath("../images/")
Daryl
----- Original Message -----
From: "Don Buck" <[EMAIL PROTECTED]>
To: "CF-List" <[EMAIL PROTECTED]>
Sent: Friday, August 17, 2001 8:09 AM
Subject: [KCFusion] CFFile to Upload
I am using CFFile to upload files to my server:
<cfif isdefined("form.submitted")>
<CFFILE ACTION="upload"
FILEFIELD="uploadfile"
DESTINATION="C:\Inetpub\wwwroot\Test\images"
ACCEPT="image/gif, image/jpg"
NAMECONFLICT="Overwrite">
</cfif>
My problem is that I want to be able to move this file where I want at a
later date, without having to worry about changing the explicit path in the
Destination.
Is there a function that I can call to retreive the path of the calling
file?
Something like:
<cfset myDestination = #CFFilePath#&"\images">
which would create:
myDestination="C:\Inetpub\wwwroot\Test\images"
This seems like a function that should be there, but I can't find it. Any
Help?
Don Buck
(816) 761-5430
Chief Information Officer
ShareValue Inc.
http://www.sharevalue.com
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[email protected]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[email protected]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]