浙林龙哥

   :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
        Response.Clear()
        Response.ContentType = "application/octet-stream"
        Response.AddHeader("Content-Disposition", "attachment;FileName=" + HttpUtility.UrlEncode(filename, System.Text.Encoding.UTF8))
        Response.WriteFile(filepath+filname)
        Response.End()
posted on 2005-06-07 13:39  浙林龙哥  阅读(1036)  评论(0编辑  收藏  举报