For IIS to download a file, it needs to have a file extension, since in IIS there will be only server file types that have been registered in the MIME Types collection. And in order for the file type to be registered under the MIME type, it needs an extension.
You can create a simple ASP.NET HttpHandler that issues a file. This will work.
source share