摘要:
//(1)返回filestream 其中:“text/plain”是文件MIME类型 public FileStreamResult download() { string fileName = "aaa.txt";//客户端保存的文件名 string filePath = Server.MapP... 阅读全文
posted @ 2018-01-25 16:03
enych
阅读(301)
评论(0)
推荐(0)
摘要:
if (file != null) { string path = Server.MapPath("~/Uploads/"); //获得服务器物理路径 if (!System.IO.Directory.Exists(path))//判断目录是否存在 ... 阅读全文
posted @ 2018-01-25 15:17
enych
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号