title: Replace Windows command FTP -s:E:\FtpScript.txt with SFTP?
body: <p>I have the following Windows script that connects to a regular FTP server and downloads files. </p>
  
  <p>However, the files have since been moved to an SFTP server. How can I modify the following script so that it connects to this new secure ftp server? I really don't want to modify too much since it had been working correctly with the past FTP server. </p>
  
  <p>The ftp client I'm using here is the one that's included with Windows.</p>
  
  <p>I'm including the script:</p>
  
  <p>I have a Windows task that runs the following: <code>ftp -s:C:\files\FtpScript.txt</code></p>
  
  <p><em>FtpScript.txt</em> has the following contents:</p>
  
  <pre><code>open web.myserver.com 8021
  username
  password
  lcd /Data/2014/0113
  prompt
  get /var/opt/Data1200.xml
  get /var/opt/Data1300.xml
  get /var/opt/Data1400xml
  </code></pre>