// Read file output it
String strfile = "c: //abc.doc";
FILESTREAM FS = New FileStream (Strfile, FileMode.Open);
Byte [] bytes = new byte [(int) fs.length];
fs.read (bytes, 0, bytes.length);
fs.close ();
Response.contenttype = "Application / OcTet-stream";
Response.addheader ("Content-Disposition", "Attachment; FileName =" httputility.urlencode (file.name);
Response.binarywrite (bytes);
Response.end ();