title: FtpWebRequest: The URI prefix is not recognized (with sftp)
body: <p>I am trying to upload a file to an FTP server. The FTP server address is <code>sftp://xxx.xx.xx.xx:xx</code>. When I try to make a <code>FtpWebRequest</code> with it. It throws a <code>NotSupportedException</code> that says:</p>
  
  <blockquote>
    <p>The URI prefix is not recognized.</p>
  </blockquote>
  
  <p>Code:</p>
  
  <pre><code>FtpWebRequest request = (FtpWebRequest)WebRequest.Create("sftp://xxx.xx.xx.xx:xx");
  </code></pre>