Prabu Spark
protected void Page_Load(object sender, EventArgs e) { string[] values = { "setup1.apk", "setup1.apk" }; for (int i = 0; i < values.Length; i++) { downloadfiles(values[i]); } } private void downloadfiles(string filename) { Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.ClearContent(); Response.Clear(); Response.ContentType = "application/msi"; Response.AppendHeader("Content-Disposition", "attachment; filename=" + filename); Response.TransmitFile(Server.MapPath("~/jad/") + filename); Response.End(); }