title: How do I pass a username to an FTP command from the command line?
body: <p>I am attempting to script a file upload using WinSCP using a batch script. The problem is, I cannot figure out how to pass the FTP username/password to the prompt. Here is my script:</p>
  
  <pre><code>@echo off
  "..\..\..\Program Files (x86)\WinSCP\WinSCP.com" /command "option batch abort" "option confirm off" "open ftp://**.***.***.*" "put boom.txt /test/" "exit"
  echo Domain\ftp_user
  set /p dummy=press enter to close
  </code></pre>
  
  <p>Currently my echo command isn't working, and the command prompt still shows:</p>
  
  <pre><code>Prompting for credentials....
  Username: 
  </code></pre>
  
  <p>How do I pass a username/password to this thing?</p>