This content has been marked as final.
Show 8 replies
-
1. Re: Linking with Mapped Network Drives
JR "Bob" Dobbs-qSBHQ2 Mar 25, 2009 5:35 AM (in response to kodemonki)Try using the UNC path instead of a mapped drive.
See this article:
http://www.adobe.com/go/9616b854 -
2. Re: Linking with Mapped Network Drives
JR "Bob" Dobbs-qSBHQ2 Mar 25, 2009 5:36 AM (in response to JR "Bob" Dobbs-qSBHQ2)Is your CF application server service running under a windows domain account? -
3. Re: Linking with Mapped Network Drives
kodemonki Mar 25, 2009 6:42 AM (in response to kodemonki)I am using the UNC path. I've also tried the IP address.
And yes, my CF app server service is running under a windows domain account. -
4. Re: Linking with Mapped Network Drives
Newsgroup_User Mar 25, 2009 6:51 AM (in response to kodemonki)kodemonki wrote:
> I am using the UNC path. I've also tried the IP address.
> And yes, my CF app server service is running under a windows domain account.
Are you having trouble reading this directory with CFML using
<cfdirectory...> and|or <cffile...> tags *OR* are you trying to create
HTML anchor <a...> links that would require this directory to be
accessible under a web root?
-
5. Re: Linking with Mapped Network Drives
kodemonki Mar 25, 2009 7:09 AM (in response to kodemonki)I can read the directory (show a list of files, etc) with cfdirectory just fine, but I am trying to use an anchor, much like this:
<a href="\\myserver.mydomain.com\public\Public_Users\kate\#name# where #name# is the file returned from cfdirectory. -
6. Re: Linking with Mapped Network Drives
Newsgroup_User Mar 25, 2009 8:11 AM (in response to kodemonki)kodemonki wrote:
> I can read the directory (show a list of files, etc) with cfdirectory just
> fine, but I am trying to use an anchor, much like this:
> <a href="\\myserver.mydomain.com\public\Public_Users\kate\#name# where #name#
> is the file returned from cfdirectory.
>
How does the file returned from the <cfdirectory...> tag relate to the
web root directory of \\myserver.mydomain.com\?
I suspect you may need some type of mapping|virtual directory|symbolic
link here depending on what flavor of OS and Web Server you are utilizing.
The other issue could be a difference in permissions between the user
ColdFusion runs under which is used to read the directory with
<cfdirectory...> and the user used by the Web Server for client requests.
-
7. Re: Linking with Mapped Network Drives
tclaremont Mar 25, 2009 9:49 AM (in response to kodemonki)As a test, while on the server, map the drive in question....say, as the G:\ drive. Then try your CFM page again, using the G:\foldername\filename approach. -
8. Re: Linking with Mapped Network Drives
kodemonki Mar 25, 2009 11:16 AM (in response to kodemonki)Virtual directories worked perfectly, thank you!


