title: C# filepath from fileuploader fails to be read by streamreader asp.net
body: <p>Running into an issue with a streamwriter</p>
  
  <p>I have a web page that has a FileUploader in a loginview to access it I am using</p>
  
  <pre><code>var fileuploader = (FileUpload)LoginView.FindControl("FileUploader");
  string filepath =  System.IO.Path.GetFullPath(fileuploader.FileName.ToString());
  </code></pre>
  
  <p>Then I pass that data in to my streamreader which is (in a different class)</p>
  
  <pre><code> using (StreamReader reader = File.OpenText(filename))
  </code></pre>
  
  <p>The filepath that it is passing in is C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\sample.txt</p>
  
  <p>Where I am selecting it from C:\fasta\sample.txt</p>
  
  <p>I have seen some posts about this, but not concerning asp.net applications.  Thanks!</p>