title: Error when downloading the file C#
body: <p>My code: </p>
  
  <pre><code>string dir = "/Users/valeria/Desktop/screening/"+cell;
  string remoteUri ="http://www.broadinstitute.org%2Fcmap%2FviewScan.jsp%3Ftype%3DCEL%26scan%3D"+p;
              string pFileName = dir + "/p";
  
              using (WebClient myWebClient = new WebClient())
              {
                  myWebClient.DownloadFile(remoteUri, pFileName);
  
              }
  </code></pre>
  
  <p>My program creates a file <code>pFileName</code>, but doesn't download anything because I get the following exception:</p>
  
  <blockquote>
    <p>Unhandled Exception: System.Net.WebException: Could not find a part of
    the path
    "/Users/valeria/Projects/screening/screening/bin/Debug/http:/www.broadinstitute.org/cmap/viewScan.jsp?type=CEL&amp;scan=EC2003090503AA".
    ---> System.IO.DirectoryNotFoundException: Could not find a part of the path
    "/Users/valeria/Projects/screening/screening/bin/Debug/http:/www.broadinstitute.org/cmap/viewScan.jsp?type=CEL&amp;scan=EC2003090503AA"</p>
  </blockquote>
  
  <p>What's wrong?</p>