title: Prompt browser to download file from browser in asp.net using c#
body: <p>To download mp3 file from 3rd party servers , using general code give
  error of need virtual path to download..</p>
  
  <p>using this code :</p>
  
  <pre><code>var fileInfo = new System.IO.FileInfo(filePath);
  
  Response.ContentType = "application/octet-stream";
  
  Response.AddHeader("Content-Disposition", String.Format("attachment;filename=\"{0}\"", filePath));
  
  Response.AddHeader("Content-Length", fileInfo.Length.ToString());
  
  Response.WriteFile(filePath);
  
  Response.End();
  </code></pre>
  
  <p>error comes that no virtual path set...i repeat i need to download from 3rd party servers with
  full url</p>