title: Copy files from FTP server to local directory?
body: <p>I want to create a batch file in Windows Server, including the following functions:</p>
  <ul>
  <li>Connection to a FTP server</li>
  <li>Copying the files from there (directory called &quot;out&quot;) to a local directory</li>
  <li>if success, then deleting the files from the FTP server</li>
  <li>repeating those steps every 15 minutes</li>
  </ul>
  <p>I haven't done that much with batch files so far, so it would be great if you could help me. I know there is the <code>ftp</code> command, and I know how to connect (<code>ftp open</code>), but unfortunately I don't know how to copy those files from there every 15 minutes.</p>
  <p>Thanks a lot for your help!</p>