title: mget command in Windows command line FTP client does not download files
body: <p>I'm trying to achieve something simple - other solutions I've found have not worked for me.</p>
  
  <p>I want to use the windows scheduler to run a cmd file, to FTP to a server, and download all of the *.csv files in the default directory, the local directory the file is being run from.</p>
  
  <p>Files in the remote directory are:</p>
  
  <p>20161101.csv
  ...
  20161129.csv</p>
  
  <p>I created this file, and called it d.ftp:</p>
  
  <pre><code>open 123.345.456.567
  username
  password
  binary
  mget *.csv
  disconnect
  quit
  </code></pre>
  
  <p>I then go to the windows command (CMD) and type:</p>
  
  <pre><code>ftp -s:d.ftp
  </code></pre>
  
  <p>All that happens is I see:</p>
  
  <pre><code>ftp&gt; open 123.345.456.567
  Connected to 123.345.456.567
  220
  User (123.345.456.567:(none)):
  331 Password required for username (actual username is shown on the screen)
  
  230 User username logged in.
  ftp&gt; binary
  200 Type set to I.
  ftp&gt; mget *.csv
  200 Type set to I.
  mget 20161101.csv? disconnect
  mget 20161102.csv? quit
  ftp&gt;
  </code></pre>
  
  <p>No files are copied to my local directory, no CSV files are transferred.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks for any help.</p>
  
  <p>Mark</p>