title: Executing WinSCP command in batch file
body: <p>I am new to batch and trying to execute a script I wrote, essentially I want to go to a remote server copy the files there and transfer it to a folder in my local directory. I am executing the bactch file but nothing is being copied any suggestions would be great. This is my script</p>
  
  <pre><code>open sftp://site:@ftp.site.net -hostkey="server finger print"
  synchronize local C:\Users\localdirectory\Desktop\test2    /Home/folderA/NewFiles
  exit
  </code></pre>
  
  <p>I am positive all the information is correct because that's how I login with WinSCP. I got this script from <a href="https://www.youtube.com/watch?v=ndvEYOQLc4c" rel="nofollow noreferrer">https://www.youtube.com/watch?v=ndvEYOQLc4c</a></p>