Hi,<BR>I want to create la link like &#039Page.asp?FileId=1&#039 which will <BR>launch a download of a file.<BR>Here&#039s my code:<BR><BR>Response.buffer = TRUE <BR>Response.AddHeader "Content-Disposition","attachment; filename=Test.txt"<BR>Response.ContentType = "application/unknown" <BR>Response.AddHeader "Content-Length", 5<BR>Response.BinaryWrite "abcde" <BR>Response.Flush<BR><BR><BR>This code works well for the download but the browser is waiting something. I can&#039t close the window or write something in it.<BR>If i grow up the content length, the rest of the page will be downloaded in the file, i think i had to send a code or something like that to indicate that the downladed file is complete and the the rest of the data is the html page .<BR><BR><BR>Thanks for helping me,<BR><BR> Serge<BR>Any idea ?