public ActionResult Download(string path) { var directory = ConfigurationManager.AppSettings["FTPMediaDirectory"]; var prodPath = ConfigurationManager.AppSettings["FTPMediaProductDirectory"]; var fullPath = Path.Combine(directory, path); try { return(new Concentrator.Web.Shared.Results.FileResult(fullPath, string.Empty, MimeUtility.MimeType(path))); } catch { return(new Concentrator.Web.Shared.Results.FileResult(path, string.Empty, MimeUtility.MimeType(path))); } }