title: MVC Download File from Remote Server
body: <p>I am trying to download file from Remote Server but I am running up with errors.</p>
  
  <pre><code>public ActionResult Download()
  {
      var a = new Uri("file://&lt;&lt;REMOTE_SERVER&gt;&gt;/&lt;&lt;Folder&gt;&gt;/Test.csv");
      return File(a, "application/csv", "test.csv");
  }
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>file://&lt;&lt;REMOTE_SERVER&gt;&gt;/&lt;&lt;Folder&gt;&gt;/Test.csv is not a valid virtual path.
  </code></pre>