I am trying to download a zip file made Ionic.Zip.dllfrom an asp.net c # web form application as follows:
zip.AddEntry("filename", arraybyte);
Response.Clear();
Response.BufferOutput = false;
Response.ContentType = "application/zip";
Response.AddHeader("content-disposition", "filename=SuppliersDocuments.zip");
zip.Save(Response.OutputStream);
Response.Close();
But I get Failed - network erroras follows:

The error occurs only in chrome , and it works correctly in other browsers. The error does not occur on my local host, and this only happens on the main server.
It would be very helpful if someone could explain the solution to this problem.
source
share