title: How to run FTP script from batch file on Windows?
body: <p>I'm trying to create a .bat file to delete all xml files on a certain ftp folder regardless of the date of the file. I've tried many scripts without any solution.</p>
  
  <p>Many experts are talking about .txt file containing the below script, but to be quite honest I don't know how to execute it or even am if I am creating the file correctly or not.</p>
  
  <p>All I need is to delete all the files on this container.</p>
  
  <pre><code>open ftp://xxxx.xxxx.net
  myusername
  mypassword
  cd /bts/xxxx
  mdelete *
  quit
  </code></pre>