Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Linking to files on a network share

Explorer ,
Feb 01, 2008 Feb 01, 2008
Here's my setup

- Cold Fusion Server running as a user with full access rights to the directory.
- CFFILE tag has NO problem managing files in this location "\\servername\foldername\"

What I need to do is create an http link that web users can click and download the file.

Solution 1: (not working)
Created a mapped folder location to the network share. (This doesn't work)
Ex: /PurchaseFiles/
Actual location: \\Servername\Foldername\

Solution 2: (Not working)
Create a mapped folder location to a mapped drive. This requires that the mapped drive be created under the same user that the Cold Fusion Administrator is using.
- Cold Fusion Admin still does not see the mapped drive even after a restart.

Solution 3:
While not what I want to do. Install a piece of software that allows me to make symlinks in windows forcing cold fusion to stop being a butt headed mongrel.

If you have any ideas or reasons my first 2 solutions aren't working that would be GREAT!
446
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 01, 2008 Feb 01, 2008
create a virtual dir in your web server?

---
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 01, 2008 Feb 01, 2008
Ah, I had to read a bit more to learn the difference in roles between the Cold Fusion Administrator and IIS. I didn't realize that the calls were passed to IIS when linking like this.

Hey you learn something new everyday!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 01, 2008 Feb 01, 2008
LATEST
yea. cf mappings are for cf. unless you use the mapping in a cf tag, it
does not work since the external web server is not aware of it in any way.

---
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources