title: Windows FTP batch file returns "200 type set to A" on mget command
body: <p>I am trying to automate a FTP job using a Windows batch file. When the <code>mget *.zip</code> line in the FTP batch file is executed this message is displayed:</p>
  
  <blockquote>
    <p>200 type set to A</p>
  </blockquote>
  
  <p>and no files are transferred. How can I resolve this? </p>
  
  <p><a href="https://i.stack.imgur.com/0a3ZC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0a3ZC.png" alt="Output after execution of mget *.zip"></a></p>
  
  <p>The file was working previously before I changed something.</p>
  
  <p>The batch file command is </p>
  
  <pre><code>ftp -n -i -s:FtpCommands.txt not.a.real.ftphost
  </code></pre>
  
  <p>The commands in the <code>FtpCommand.txt</code> file are</p>
  
  <pre><code>USER UserName
  Password
  cd /FtpFolder
  lcd C:\WorkstationFolder
  ascii
  mget *.zip
  </code></pre>
  
  <p>After doing a <code>ls</code> I get the below output </p>
  
  <p><a href="https://i.stack.imgur.com/0wAQo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0wAQo.png" alt="LS output"></a></p>