F
fatima.issawi
Hello,
Is it possible to download multiple files? Right now I am using the
following code in a loop, but I can only save one file - the first one.
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=" + fileName);
Response.AddHeader("Content-Length", "10");
Response.ContentType = "application/octet-stream";
Response.WriteFile(paths);
//Response.End();
Is there something I am doing wrong? Is there another way of
implementing this that I am unaware of? I am new to this, so any help
will be appreciated.
Btw, I did read in a post that zipping the files into one file would
work, but I cannot implement it this way.
Thanks!
Fatima
Is it possible to download multiple files? Right now I am using the
following code in a loop, but I can only save one file - the first one.
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=" + fileName);
Response.AddHeader("Content-Length", "10");
Response.ContentType = "application/octet-stream";
Response.WriteFile(paths);
//Response.End();
Is there something I am doing wrong? Is there another way of
implementing this that I am unaware of? I am new to this, so any help
will be appreciated.
Btw, I did read in a post that zipping the files into one file would
work, but I cannot implement it this way.
Thanks!
Fatima