2013年3月15日
摘要: protected void downF() { //判断是否选择文件名 //获取文件路径//string path = Server.MapPath("File/") + Session["file"].ToString();//要下载的资源在本地 string path = @"\\192.168.1.90\wwwroot\img.cn-school.com\images\667027ee9425480e8881fd923158317d.png";//要下载的资源在某个服务器 //初始化 FileInfo 类的实例,它作为文件路. 阅读全文
posted @ 2013-03-15 17:31 朝着 阅读(142) 评论(0) 推荐(0) 编辑
摘要: public ActionResult DownLoadFile(string type, string fileName) {//string filePath= Server.MapPath("File/") + Session["file"].ToString();//要下载的资源在本机 string filePath =@"\\192.168.1.90\wwwroot\img.cn-school.com\images\667027ee9425480e8881fd923158317d.png";//要下载的资源在某个服务器 Fi 阅读全文
posted @ 2013-03-15 17:29 朝着 阅读(211) 评论(0) 推荐(0) 编辑