<pre>public FileResult Download(string FileName) { byte[] fileBytes = System.IO.File.ReadAllBytes(Server.MapPath(@"~\Path\" + FileName)); string fileName = FileName; return File(fileBytes, System.Net.Mime.MediaTypeNames.Application.Octet, fileName); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)