Line 127: context.Response.ContentType = "image/png";
Line 128: context.Response.AddHeader("Content-Disposition", "attachment; filename=" + stdid + ".png");
Line 129: context.Response.BinaryWrite(downloadFile(ConfigurationManager.AppSettings["ftpserver"]+ "/Thumbnail/", ReqPath(orgs, stdid), ConfigurationManager.AppSettings["ftpuser"], ConfigurationManager.AppSettings["ftppass"]));
Line 130: context.Response.End();
Line 131:
|