示例#1
0
        public ActionResult Download(int id)
        {
            var    data     = FileBLL.Get(id);
            string filePath = Server.MapPath("~/upload/" + data.FILEURL);

            return(File(filePath, "application/vnd.android", data.FILENAME));
        }