title: How to script FTP upload and download
body: <p>I'm attempting to make a batch file to upload a file to an FTP server.
  If I type it in manually it works fine, but when I run the batch file it halts after it's connected... It says:</p>
  <pre class="lang-none prettyprint-override"><code>connected to domain.com.
  
  220 microsoft ftp server
  
  User(domain.com:(none)):
  </code></pre>
  <p>And then nothing else. What is going on here?</p>
  <p>Below is my batch file:</p>
  <pre class="lang-none prettyprint-override"><code>ftp www.domainhere.com
  
  user useridhere
  
  passwordhere
  
  put test.txt
  
  bye
  
  pause
  </code></pre>