title: IP Switch ws_ftp script to delete all files from directory after xfer
body: <p>I have the following script that I thought would delete all the xfered files from my local dir but it's actually delete all the files from the other dir.</p>
  
  <p><code>CONNECT ARx
  ONERROR GOTO ERROR
  LCD "C:\FTP Folders\ARx\ARxScanning"
  ONSUCCESS GOTO FILEDELETE
  MPUT *.PDF
  LABEL FILEDELETE
  MDELETE *
  LABEL ERROR
  CLOSE
  </code></p>
  
  <p>How do I delete all files from the local dir? I can't use PXDELETE because I want to delete all files weather they were transferred or not. </p>