Posted on: 6/18/2013 3:26:03 AM | Views : 446

Hello, I have this code that generates a word document of the current page to download, it works great.
HttpContext.Current.Response.ContentType = "application/msword"; HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=IR-" + lblReportNumber.Text + ".doc"); HttpContext.Current.Response.Write(this.Page.ToString()); But I need I now need to save that file to the server instead of download to the client, for instance save it in c:\inetpub\wwwwroot\website\wordfiles\somewordfile.doc
How can I do this?
Thank you!

...

Go to the complete details ...