J
Johannes
Hello All,
In a page called default.aspx I use the following code:
Response.Clear()
Response.ContentType = "text/plain"
Response.AddHeader("Content-Disposition", "attachment;
filename=myFile.txt")
Response.Flush()
Response.Write(MyStringBuilder.ToString())
Response.End
It writes the stringbuilder to a textfile on the client. When I use a
browser (tested with Internet Explorer and Firefox) this works as it
should. When i use my downloadmanager (leechget) I don't get the
textfile but the file default.aspx itself.
What can I do to correct this problem?
For the days coming I wish you all a merry christmas.
John
In a page called default.aspx I use the following code:
Response.Clear()
Response.ContentType = "text/plain"
Response.AddHeader("Content-Disposition", "attachment;
filename=myFile.txt")
Response.Flush()
Response.Write(MyStringBuilder.ToString())
Response.End
It writes the stringbuilder to a textfile on the client. When I use a
browser (tested with Internet Explorer and Firefox) this works as it
should. When i use my downloadmanager (leechget) I don't get the
textfile but the file default.aspx itself.
What can I do to correct this problem?
For the days coming I wish you all a merry christmas.
John