Code:
Dim fileName as String = "Trial1.txt"
Response.Addheader("Content-Disposition", "attachment; filename=" & fileName)
Response.ContentType = "text/plain"
The above program works fine. The problem is I am getting the message "You are downloading the file: abc.aspx from localhost"
How can i change it to "Trial.txt from localhost"
Please do help me out