DownFile (string destFileName) {destFileName = Server.UrlDecode (destFileName); if (File.Exists (destFileName)) {FileInfo fi = new FileInfo (destFileName); Response.Clear (); Response.ClearHeaders (); Response.Buffer = false; Response.AppendHeader ( "Content-Disposition", "attachment; filename =" HttpUtility.UrlEncode (Path.GetFileName (destFileName), System.Text.Encoding.UTF8)); Response.AppendHeader ( "Content-Length", Fi.Length.Tostring ()); respternse.contenttype = "Application / OCTET-stream"; response.writefile; response.flush (); response.end ();} else {response.write ("