title: c# upload file to stream?
body: <p>I want the user to upload a file and save it to a stream.</p>
  
  <p>Here is the code so far: </p>
  
  <pre><code> private void Submit_ServerClick(object sender, System.EventArgs e)
          {
  
  
                 fn = System.IO.Path.GetFileName(File1.PostedFile.FileName);
  
          }
  </code></pre>