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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing file higher than wwwroot

Status
Not open for further replies.

JohnBoy2005

Programmer
Jul 12, 2005
117
GB
I've got a bank of media files in a directory outside the folder.

How can I get my code within to access the directory and its files. I have tried Server.MapPath("../../../media/") & FileName but it doesnt want to work.

Cheers

John
 
Sorted it.

I've created a Virtual Directory listing

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top