title: Simple Webclient.DownloadFile not Working
body: <p>Just started using Windows Forms and although the documentation and info on Google seems pretty simple, I can't get my c# Windows Form app to download a file. Here's my code:</p>
  
  <pre><code>        string remoteUri = "http://mysite.com/file.txt";
          string fileName = @"C:\Folder";
  
          WebClient myWebClient = new WebClient();
          myWebClient.DownloadFile(remoteUri, fileName);
  </code></pre>
  
  <p>I have confirmed that the link is active and if I type it into a browser it starts the download and that the folder exists on my computer. When I click the button that triggers this event, I get the following error: </p>
  
  <p>An unhandled exception of type 'System.Net.WebException' occurred in System.dll</p>
  
  <p>Additional information: An exception occurred during a WebClient request.</p>
  
  <p>What am I missing?</p>