title: FTP Concurrency issues using Ipswitch WS-FTP Pro
body: <p>I think we have a problem in our FTP scripts that pull files from a remote server to a local machine. I couldn't find an answer in their knowledge base, nor scripting documentation.</p>
  
  <p>We are doing an <code>MGET *.*</code> and then a <code>MDELETE *.*</code> immediately after it. I think what is happening is that, while we are copying files from the server, additional files are copied into the same directory and then the delete command deletes everything from the server. So we end up deleting file we never copied down.</p>
  
  <p>Is there a straight-forward way to delete only the files that were copied, or is it going to be some sort of hack job where we generate a dynamic delete script based on what we actually copied down?</p>
  
  <p>Answers that are product specific would be much appreciated!</p>