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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top