Don:

I've seen several code snippets to retrieve a path, including one I wrote.
But I'm not sure I exactly understand what you're trying to do. Maybe we
could just send you something and you can try it out? Mine uses several CF
functions, part of an experiment I was doing to create a navigation bar that
would "know" where it was.

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]
Voice: (816) 880-0243 x214
Fax:   (816) 880-4776
       (800) 525-1101
http://www.vmdc.net/

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Don Buck
Sent: Friday, August 17, 2001 8:09 AM
To: CF-List
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]
 

Reply via email to