title: Execute Process Task to download from SFTP
body: <p>I am wondering if anyone knows how to access an SFTP site to download a file through Visual Studio. I have the following code written in a text file:</p>
  
  <pre><code>option confirm off
  open sftp://username:password@placeineedtogo
  cd/users/mydirectory
  get -nopermissions -nopreservetime "myfile.txt" "C:\Users\Desktop\myfile.txt"
  Close
  exit
  </code></pre>
  
  <p>Then in Execute Process Task:</p>
  
  <p>Executable: I have it pointing to WinSCP
  Arguments: "/script=pathwaytomyscript"
  WorkingDirectory: placeIwanttodropmyfile
  SuccessValue: 1</p>
  
  <p>That's everything I have. The process executes and gives me a green check mark but the file is not present. Any ideas what I could be doing wrong?</p>