普通的下载

string photoPath = Path.Combine(InitInfo.AttachPath, datePath, guidPath, fileName);

            HttpContext.Response.ContentType = "image/jpeg";
            HttpContext.Response.TransmitFile(photoPath);

posted @ 2018-08-09 16:25  一直乱跑的熊  阅读(125)  评论(0编辑  收藏  举报