Iam using the Response object to download files. In the application, the user can select multiple files for download. But the code I wrote works fine only for a single download. i.e It downloads only the first selected file. Can somebody tell me how to download multiple files in one shot??
This is the code i wrote for downloading files:
Response.Buffer = True
Response.ContentType = "application/octet-stream; name=" & Filename
Response.AddHeader("content-disposition", "attachment;filename=" & Filename & "")
Response.ContentEncoding = System.Text.Encoding.GetEncoding(1251)
Thanks in advance