Chris Ara
01-15-2007, 05:28 PM
when using the server.mappath function in ASP.NET how do you get the function to map back a folder from where you are ?
thanks for any help
Chris Ara
thanks for any help
Chris Ara
map path question ASP .NETChris Ara 01-15-2007, 05:28 PM when using the server.mappath function in ASP.NET how do you get the function to map back a folder from where you are ? thanks for any help Chris Ara Eduardo Lorenzo 01-15-2007, 06:06 PM I really cant get a grip on your question. Do you want: 1) To get the path of a file from another computer? 2) To change the path to a higher folder? Chris Ara 01-16-2007, 06:23 AM number 2 I couldn't think of the exact way to word it , but yes I want to get to a higher folder. wayneph 01-16-2007, 07:03 AM Server.MapPath("../images/myfile.gif") Some Server settings prohibit you from navigating outside of your web directory however. (The ASPNET account probably doesn't have permissions there anyhow.) Eduardo Lorenzo 01-17-2007, 04:40 PM yup.. depending on the rights, and assuming it is at default.. your hands are tied to "hardcoding" the path. |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum