tags:

views:

1062

answers:

1

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
i need return full http url
StoneHeart