public static string MakeWebFolderPath(string sDirPath) { string sPathPrefix = "/"; if (!String.IsNullOrEmpty(sDirPath)) { sPathPrefix = sDirPath.Replace(WWWPath, @"/"); } sPathPrefix = MakeFilePathUniform(sPathPrefix); return sPathPrefix; }