S
Steve Lloyd
Hello,
I am trying to create a page where a for is filled out and submitted, the
info is verified and then i want the software to be downloaded to the user.
So far i have been using:
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" &
Replace(myFile.Name, ".aspx", ""))
Response.AddHeader("Content-Length", myFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.WriteFile(myFile.FullName)Response.End()
I am trying to create a page where a for is filled out and submitted, the
info is verified and then i want the software to be downloaded to the user.
So far i have been using:
Response.Clear()
Response.AddHeader("Content-Disposition", "attachment; filename=" &
Replace(myFile.Name, ".aspx", ""))
Response.AddHeader("Content-Length", myFile.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.WriteFile(myFile.FullName)Response.End()