I have a ashx page handling file/attachment requests
last line of code is
System.Web.HttpContext.Current.Response.WriteFile(filename)
It ends up downloading a file called GetFile.ashx (which sounds like a page name but if I rename the .ashx to .zip it is actually the correct file...
Any reasons why this might be happening and how to stop it?