title: MS-DOS FTP command in a batch file: raise error
body: <p>In MS-DOS (Windows 2003 R2 Server), I have a batchfile which has the FTP command in it, eg:-</p>
  
  <pre><code>FTP.CMD
  -------
  cd d:\extracts\scripts
  ftp -i -s:ftp_getfile.ftp
  exit
  </code></pre>
  
  <p>I would like the batch file to raise and return an error level 1 for failure instead of 0,
  so that the calling batchfile can deal with it.</p>
  
  <p>The error could be caused by the FTP server being down.  Right now, nothing is returned to indicate
  an error condition occured.</p>
  
  <p>Please can someone advise?</p>
  
  <p>Thanks! :)</p>