title: Using WinSCP script for SFTP access from SSIS
body: <p>I am new to WinSCP and am attempting to create a script file that will eventually be used with SSIS to download files from an SFTP site. A lot of the literature WinSCP includes explains the file downloading or uploading portions. For the time being, I just want to create a script to test the connection first and will build from there.</p>
  
  <p>So far I saved the connection in WinSCP and have the following. The below code does not seem to function at all and I am not sure where else to go as I am still reading about the scripting for WinSCP. Is there a way or can someone point me in a direction to see if I am in fact connecting via through the script?</p>
  
  <pre><code>option batch on 
  option confirm off 
  open username@address 
  exit
  </code></pre>