I try to download a zip file made by Ionic.Zip.dll
from an asp.net c# web form application like this:
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 error
like this:
Error just occurs in chrome and it works properly in another browsers. Error does not occur on my localhost and it happens only on the main server.
It would be very helpful if someone could explain solution for this problem.