Skip to main content
March 24, 2008
Question

linked files outside web root - help please

  • March 24, 2008
  • 1 reply
  • 257 views
Hi everyone,
I'm hoping someone here can help.
What I want to do is to run my CF applications on the C drive and locate all of the uploaded photos, and files (word, excel, powerpoint stuff) on the D : drive. This is to allow me to easily store the bulk of the app, which will be the uploaded Word, PPT, excel etc files on the larger drive and also to be able to upgrade the 😧 drive bigger if I have to without having to reload CF and all the app.
I can't figure out how to do it.
The server has dual drives a 30 gig (C: drive) and a 180 gig (D; drive) . Both are backed up by redundant drives. Can you help me out?
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 24, 2008
    You can refer the drives directly without any problem while saving the uploaded files with CFFILE etc.

    The only problem would be that you can not reach these files with a direct link. In that case adding a virtual directory in your webserver and referencing these new location would be a workaround.

    If you can exactly define what you need we can try to suggest some more details.


    March 24, 2008
    Thanks Oguz,
    Setting up the virtual directory in IIS is what I needed. I can handle it form there. Thanks again for the help
    Rob