J
JMG
Hi everybody,
When the file size is larger than about 16 Mo, the download stops without
any error message.
private void download (string strFullName, string strName)
{
Response.Clear ();
Response.Expires = -1000;
Response.AddHeader("content-disposition", "attachment; filename=" +
strName);
Response.ContentType = "Application/octet-stream";
Response.Flush ();
Response.WriteFile(strFullName);
Response.End();
}
In my web.config:
<httpRuntime executionTimeout="90000" maxRequestLength="200000"/>
Help please !!!
Thanks in advance.
When the file size is larger than about 16 Mo, the download stops without
any error message.
private void download (string strFullName, string strName)
{
Response.Clear ();
Response.Expires = -1000;
Response.AddHeader("content-disposition", "attachment; filename=" +
strName);
Response.ContentType = "Application/octet-stream";
Response.Flush ();
Response.WriteFile(strFullName);
Response.End();
}
In my web.config:
<httpRuntime executionTimeout="90000" maxRequestLength="200000"/>
Help please !!!
Thanks in advance.