title: How to specify the download path while export excel using HttpContext?
body: <p>I have export table data to Excel.
  I try this code, but its download to the default <strong>Download</strong> folder.
  I would like to download it to the specified path.
  How to specify the given path?</p>
  <pre><code>            HttpContext.Current.Response.ClearContent();
              HttpContext.Current.Response.Buffer = true;
              HttpContext.Current.Response.AddHeader(&quot;content-disposition&quot;, &quot;attachment;filename=ConsolidateRpt.xlsx&quot;);
              HttpContext.Current.Response.Charset = &quot;&quot;;
              HttpContext.Current.Response.ContentType = &quot;application/excel&quot;;
              StringWriter writer = new StringWriter();
              HtmlTextWriter writer2 = new HtmlTextWriter(writer);           
              HttpContext.Current.Response.Write(writer.ToString());
              HttpContext.Current.Response.End();
  </code></pre>