

String AppPath = Request.PhysicalApplicationPath System.IO.FileInfo a = new System.IO.FileInfo(Server.MapPath(outPutFile)) OutPutFile = "~/OriginalVideo/" + fileName String ext = fileName.Substring(dotPos + 1) įileName = namewithoutext + j + "." + ext įilepath = Server.MapPath("~/OriginalVideo/" + fileName) String namewithoutext = fileName.Substring(0, dotPos) String filepath = Server.MapPath("~/OriginalVideo/" + fileName)

mp4 you will get your answer private bool ReturnVideo(string fileName)ĪppPath = Request.PhysicalApplicationPath
