Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a folder and view contents from a web page

Status
Not open for further replies.

leearach2004

Technical User
Dec 8, 2005
86
GB
I have search for ever on the net but cant seem to fined a solution to how to open a folder from a link on my web site and view the contents and copy to it as if you where using windows explorer. I have tried using javascript but dont quiet understand how to do this one or if it is possible at all. It was sugested that you just use a link as you would for a file but just enter the path of the folder but that doesent work the link just clicks and goes no where.
I have found a javascript that will do this for the current folder in use when clicked but i cant specify what folder to open
Hope somone out there can help hope to here from you all soon id be most greatful.
 
The only thing left for me to suggest is making sure that you turn whatever local drive is entered into a proper URL. So instead of:

C:\

you end up with:

file:///C:/

That aside, I'm all out of suggestions.

Dan

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
hi there thanks for all your help but unfortunatly that didnt work either seems to work fine if the page is run localy but not when its run from the server can access c: thank you for trying thoiugh much appreciated
lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top