Multiple File Download in ASP.NET

G

Guest

Hi All,

I want to download two or more file to user machine.
Any one have idea.. How to download multiple file in user machine.

When I tried to download two file using below code.
I am not able to do...plz advise...............

Response.ContentType = "application/vnd.msword";
Response.AddHeader("content-disposition", "attachment;filename=" +
"Download_View.doc");

byte[] l_bytBinaryData;
string l_strBase64string = GetBase64String("C:\\Download_View.doc");
l_bytBinaryData = System.Convert.FromBase64String(l_strBase64string);
Response.BinaryWrite(l_bytBinaryData);

I used this two time, but this does not work and download one file.
Can anyone tell me.. how to proceed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top