Accessing files from a location thru a WEB application.

BMaadarani
BMaadarani used Ask the Experts™
on
In line with not having too much experience with WEB development. I have a challenge, which I hope is not for you experts. I need to allow users to access files from a web applications, however those files are not stored within site folder on the web server. Can anyone explain how to reference those attachments.

I used the href tag, but it seems to always try to access files whose path is relative to the root folder of the site.

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
bbaoIT Consultant

Commented:
> those files are not stored within site folder on the web server.

where are the files stored?
Darren ReederSchool IT Technician

Commented:
Follow this video

https://www.youtube.com/watch?v=OV-4o-ZPJ48

You want to mount the Folder which you are trying to access inside of the server Folder (the root of the server folder).

I think this should work!
Web Ninja at large
Commented:
simply create a virtual folder in your site (in IIS) that maps to wherever the files are, then, in your code, simply reference that folder like you would any other folder in your site

Author

Commented:
A great simple suggestion that help me further with my project.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial