[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

hyperlink to a folder on web server

Posted on 2011-09-20
4
Medium Priority
?
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 1000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Foreword This article was written many years ago, in the days when PHP supported the MySQL extension (http://php.net/manual/en/function.mysql-connect.php).  Today (http://php.net/manual/en/migration70.removed-exts-sapis.php) you would not use MySQL…
Introduction and Prerequisites This article describes methods for detecting whether a client browser accepts and returns HTTP cookies and whether the client browser runs JavaScript.  Most client browsers will, by default, be configured to use cooki…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

650 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