• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

hyperlink to a folder on web server

Hello experts

the goal is this-
I have a website with a navigation bar. One of the links on the navigation i would like to open up for the viewer the contents on a folder on the server which should reveal other folders of which a user can click into and access pdf documents. I dont know html well enough to get it working right. below is the code i attempted to use to get the effect.

<A HREF="file:///D:/school site/Devel/docs/Policy/" target="_blank">School Policies</a>
0
jonnydollar
Asked:
jonnydollar
  • 2
  • 2
1 Solution
 
Paul MacDonaldDirector, Information SystemsCommented:
That's not likely to work unless every user's D: drive points to the same server/share.  If the folder is on the web server, use a regular URL:
<A HREF="http://www.school site/Devel/docs/Policy/" target="_blank">School Policies</a>

If the folder is on a share somewhere, you can try
<A HREF="file:///servername/sharename/school site/Devel/docs/Policy/" target="_blank">School Policies</a>
but access will be predicated on the client's ability to see the server hosting the share.
0
 
jonnydollarAuthor Commented:
ok would read only permission on the share of the folder allow a user to go in see the folders inside the link, open one of them up and open a pdf doc?
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Yes, they would need read/browse permission, but not write/modify.
0
 
jonnydollarAuthor Commented:
I used IIS virtual directory to get the job done
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now