title: How to ftp with a batch file?
body: <p>I want a batch file to ftp to a server, read out a text file, and disconnect. The server requires a user and password. I tried</p>
  
  <pre><code>@echo off
  pause
  @ftp example.com
  username
  password
  pause
  </code></pre>
  
  <p>but it never logged on. How can I get this to work?</p>