title: curl ftp delete mulitiple files sh script
body: <p>I am trying to delete a folder with multiple files via ftp using curl (called within a sh script on ubuntu), and not having much success. I can delete an empty folder, and I can delete individual files if called directly. The thing is this is a backup folder and the names will change.<br />
  After researching it seems you can't delete multi files using the curl ftp command, and the only way is to list the files, then process the list and delete each one. But I cannot seem to find an example, can someone help me with this?</p>
  
  <p>I'm using the following comamnd to list the files:</p>
  
  <pre><code>curl -l ftp://ftpadd/path/ --user "user:pw"
  </code></pre>