title: Download file using webclient
body: <p>I try to download a file from https site and every time the file is saved to my machine it is only 1KB. The file is supposed to be 1MB. I am using Webclient.</p>
  
  <pre><code>string strFile = @"c:\myfile.txt";
  WebClient wc = new WebClient();
  wc.Credentials = new System.Net.NetworkCredential("userid", "pw");
  wc.DownloadFile("https://www.mysite.come/myfile.txt", strFile);
  </code></pre>
  
  <p>Do I miss anything?</p>