how can i set a new default save path in my program of download?
can you help me?
i have a program. i want to let the download code can set the save path itself; what can i do?
my code as follow:
string filename="g://UDP.exe";
Response.ClearHeaders();
Response.Buffer=false;
Response.ContentType="application/exe";
//Response.AppendHeader("Content-Type","UDP/exe");
Response.AppendHeader("Content-Disposition","inline;filename="+filename);
Response.WriteFile(filename);
Response.Flush();
Response.End();
thanks!