title: Change WebRequest's Method property (C#)
body: <p>Is there a better way for changing the Method property of WebRequests after uploading a file than mine?</p>
  
  <p>My way looks like this:</p>
  
  <pre><code>WebRequest request = WebRequest.Create("ftp://.../...txt");
  request.Credentials = new NetworkCredential("...", "...");
  request.Method = WebRequestMethods.Ftp.UploadFile;
  
  // Then I write to the request stream with StreamWriter
  
  // Try reading
  request.Method = WebRequestMethods.Ftp.DownloadFile;
      // If I only change the Method property, the next line throws an InvalidOperationException
  
  StreamReader reader = new StreamReader(request.GetResponse().GetResponseStream(), true);
  </code></pre>