After saved upload file, i got local url of this file, how i convert it to http url?
+2
A:
public static string PathMap(string path) { string approot = HttpContext.Current.Request.PhysicalApplicationPath.TrimEnd('\'); return path.Replace(approot, string.Empty).Replace('\', '/'); }
source : http://www.aspapp.com/forums.asp?ForumId=11&TopicId=3536
avinds
2009-01-12 06:36:43
i need return full http url
StoneHeart
2009-01-12 07:43:51