title: Deleting a file via PHP's curl over ftps connection is echoing directory contents
body: <p>This code is behaving strangely. All I am trying to do is delete a file over an FTPS connection and determine if it worked. The delete is happening perfectly, but I am experiencing a side-effect. I can't figure out why, but something is causing the resulting directory contents to echo.</p>
  
  <pre><code>$conn = curl_init();
  $testfile = 'file.txt';
  
  curl_setopt($conn, CURLOPT_PORT, $config['imt']['ftp']['port']);
  curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, false);
  curl_setopt($conn, CURLOPT_FTP_SSL, CURLFTPSSL_TRY);
  
  $url = 'ftps://' . $config['imt']['ftp']['host'];
  
  curl_setopt($conn, CURLOPT_URL, $url);
  curl_setopt($conn, CURLOPT_USERPWD, $config['imt']['ftp']['username'] . ':' . $config['imt']['ftp']['password']);
  curl_setopt($conn, CURLOPT_QUOTE, array('DELE /' . $testfile));
  
  $result = curl_exec($conn);
  
  if ($result)
  {
      echo 'Success';
  }
  
  curl_close($conn);
  </code></pre>
  
  <p>The above prints out exactly this.</p>
  
  <pre><code>drwxrwxrwx   1 DCG AbilityFTPServer          0 Jan 09 12:58 .
  drwxrwxrwx   1 DCG AbilityFTPServer          0 Jan 09 12:58 ..
  -rw-rw-rw-   1 DCG AbilityFTPServer        260 Jan 08 12:52 Congratulations.txt
  Success
  </code></pre>
  
  <p>The file I was trying to delete has, indeed, been removed, leaving only that txt file in the directory. It even prints "Success." But WHY is it printing my directory contents when I am not asking for it!?</p>