title: FTP Delete non empty directory
body: <p>I am connected to a Unix server and I am trying to, via FTP, delete the directory <code>dir</code> with several files in it. If I use</p>
  
  <pre><code>ftp&gt; delete dir/*
  </code></pre>
  
  <p>I get</p>
  
  <blockquote>
    <p>550 Wildcard is ambiguous.</p>
  </blockquote>
  
  <p>When I use</p>
  
  <pre><code>ftp&gt; prompt off
  Interactive mode off.
  ftp&gt; mdelete dir/*
  </code></pre>
  
  <p>I still get </p>
  
  <blockquote>
    <p>550 Wildcard is ambiguous.</p>
  </blockquote>
  
  <p>When I try</p>
  
  <pre><code>ftp&gt; glob
  Globbing on.
  ftp&gt; mdelete dir
  </code></pre>
  
  <p>I'm prompted for every file.</p>
  
  <p>How can I easily delete/empty-and-delete a directory without getting prompted for every file?</p>