title: SFTP SSH.NET DLL instead of SharpSSH
body: <p>I was seeking for a free DLL for .net to handle SFTP connections.</p>
  
  <p>I found out this project <a href="https://bitbucket.org/mattgwagner/sharpssh" rel="nofollow">SharpSSH</a>, but it lacks of documentation.</p>
  
  <p>I spent a lot of time to figure how the dll works. I created a test project and I started to test different functions. Some functions are working such as deleting files.</p>
  
  <p>I have a problem with putfile() function and getfile().</p>
  
  <p>Here an example :</p>
  
  <pre><code>Dim ssh As SFTPUtil
  ssh = New SFTPUtil("MY SERVER", "MY USER", "MY PW")
  ssh.GetFile("/home/sftptest/test111.xml", "C:\\text.xml")
  </code></pre>
  
  <p>Note that the getfile() parameters are:</p>
  
  <pre><code>Public Sub GetFile(remotePath As String, localPath As String)
  </code></pre>
  
  <p>I step in the functions, but I didn't get the correct way to pass those parameters.</p>
  
  <p>I dont really know if i should use slashes(/) or backslashes (). I know that Linux uses (/)</p>
  
  <p>I noticed for example that the "C:\" has been transformed to "C:\\".</p>
  
  <p>Just to mention that the SFTP is on a linux machine.</p>
  
  <p>thank you.</p>