Click here to Skip to main content
15,566,615 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have a website where i can download files from server.I am using the below usual code to download.It works fine in browsers like IE,firefox,
Opera,chrome but not in safari.
Since it is an external website ,i need to check the compatibility in all browsers.

Is there anything that i need to set in safari?
Please help.

Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + this.fileName);
Response.ContentType = strFileType;
Response.BinaryWrite(bytFile);
Response.Flush();
Response.End();


Thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900