Hi everybody...
I have struck in a issue which is explained below. Pls resolve it...
I have an download option in my web application(ASP.Net with C#), which brings an dialogbox asking where to save the file. But i want to get the path of the file which is going to give by the user, because i have to start a new process to install the downloaded file by giving the path. I am using the following code to download the file, it works fine but i need to fetch the destination path of the file. Please help me out...
Thanks in advance...
This is my code.......
Response.ClearContent();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = filepath;
Response.TransmitFile(file.FullName);
Response.Flush();
Response.End();