title: Include Password in SFTP Batch File
body: <p>I need to connect to our SFTP Server using the built in windows sftp feature and a .bat file which automatically inputs the login data, user and pw. I´ve tried everything and just cant figure out the correct way. No matter what I try, it always asks me to manually put in my password. I want to avoid that. It should do the whole SFTP process by itself once it runs.</p>
  
  <p>One thing i tried was this:</p>
  
  <pre><code>sftp sftp://USERXYZ:PASSWORDXYZ@myftp.COMPANY.com
  </code></pre>
  
  <p>But this still asks me to manually put in my pw and to make it worse, it thinks the user is "USERXYZ:PASSWORDXYZ" instead of just "USERXYZ"</p>
  
  <p>Here´s my script with dummy values:</p>
  
  <pre><code>sftp sftp://USER@myftp.COMPANY.com
  lcd C:\Users\PATHXYZ
  cd PATHXYZ
  put TESTFILE.txt
  bye
  </code></pre>
  
  <p>Hope you can help me, thanks in advance.</p>