HTTP Header를 이용한 파일 다운로드
ASP.NET도 거의 코드가 동일한 가능하다.
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" & file.Name)
Response.AddHeader("Content-Length", file.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.WriteFile(file.FullName)
Response.End