linpj75

linpj75

  • NA
  • 2
  • 0

how can i set a new default save path in my program of download?

Mar 3 2004 4:14 AM
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!