Author: sunilkalva35 | Posted on: 6/25/2008 6:27:26 AM | Views : 267

Hi,
I am using the below code to download a file.If the file is more than 1mb its not downloading.It just stops the download.

string filename = System.IO.Path.GetFileName(filepath);

Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition","attachment; filename="+filename );

Response.TransmitFile(filepath); 
 





Any ideas!..
 
Thanks,
Sunil. 
...

Go to the complete details ...