웹마짱구's 블로그

파일다운로드

Windows/ASP.NET : 2007/11/22 12:59


Response.Clear();
   Response.ContentType = "Application/UnKnown";
   Response.AddHeader("Content-Disposition", "attachment;filename=" + Path.GetFileName(Server.MapPath(Request.QueryString["filePath"])));
   Response.WriteFile(Server.MapPath(Request.QueryString["filePath"]));
   Response.End();
top

TAG ,
Windows/ASP.NET : 2007/11/22 12:59 Trackback. : Comment. : view 1027

Trackback Address :: http://jjangu.pe.kr/blog/trackback/480

Write a comment.




: 1 : ... 119 : 120 : 121 : 122 : 123 : 124 : 125 : 126 : 127 : ... 543 :