Solved

hyperlink to a folder on web server

Posted on 2011-09-20
4
235 Views
Last Modified: 2012-05-12
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
Comment
Question by:jonnydollar
  • 2
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 36568463
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
 

Author Comment

by:jonnydollar
ID: 36568533
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
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 36568837
Yes, they would need read/browse permission, but not write/modify.
0
 

Author Closing Comment

by:jonnydollar
ID: 36595138
I used IIS virtual directory to get the job done
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequent question goes something like this, "How can I show an introductory page to my clients on the first site visit, but not show it again on every visit?"  The answer is by using a cookie.  This article shows the design pattern f…
A few customers have recently asked my thoughts on Password Managers.  As Security is a big part of our industry I was initially very hesitant and sceptical about giving a program all of my secret passwords.  But as I was getting asked about them mo…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now