In that case you'd have to specify the full absolute path, which is what I had been doing.

Andy

Jeff Anderson wrote:

what about the people who dont have access to the servers filesystem?
if there any other way to get around it?


On Wed, 6 Oct 2004 14:43:50 +0100, Andy Allan
<[EMAIL PROTECTED]> wrote:


Sweet, didn't know of that. Thank you sir!

Andy

Quoting "Schreck, Thomas (PPC)" <[EMAIL PROTECTED]>:



I found this:




http://www.corfield.org/blog/index.cfm?do=blog.month&month=11&year=2003

look at the blog entry dated November 3, 2003.

I followed the fix and it works.

Thanks -

Tom Schreck
817-252-4900
[EMAIL PROTECTED]

I have not failed.  I've found 10,000 ways that won't work.

- Thomas Edison


-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Allan Sent: Wednesday, October 06, 2004 8:15 AM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] expandpath

It works on *nix, but not Windows.

Andy

Quoting "Schreck, Thomas (PPC)" <[EMAIL PROTECTED]>:



I'm a little perplexed about expandpath. I have a CF mapping to a
folder outside of my webroot. I tried using expandpath("/[CF MAPPING
NAME]") thinking it would resolve to the path entered for mapping in


CF


Admin.  It returns the webrootpath/[CF MAPPING Name].



CF Mapping:

/MYSQL    C:\_Components\MYSQL



ExpandPath() Returns:

c:\inetpub\wwwroot\MYSQL



Expected:

C:\_Components\MYSQL



If expandpath only works against webroot, then what's the point of
having CF Mapping (I know it is used for cfmodules, cfincludes,...)?


Is


there a way to retrieve the path the mapping represents?



Thanks - Tom




--
[EMAIL PROTECTED]
www.creative-restraint.co.uk

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]





--
[EMAIL PROTECTED]
www.creative-restraint.co.uk

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]




--
[EMAIL PROTECTED]
www.creative-restraint.co.uk


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to