mFileName = "ABC.jad"; mPath = ResolveUrl("~/" + mFileName); Response.ContentType = "text/vnd.sun.j2me.app-descriptor";
Response.AppendHeader("Content-Disposition", "filename=" + mFileName); Response.TransmitFile(Server.MapPath(mPath)); Response.Flush(); Response.End();
<a href='filename.jad'>download</a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)