title: ftp n_list doesnt work with directory with separate words
body: <p>Hi i have this AJAX call:</p>
  
  <pre><code>listCall = $.ajax({
                  type: 'POST',
                  url: "ftpFunction.php",
                  data: {"request":"list","path":path},
                  dataType: "text",
                  cache: 'false',
                  beforeSend: function(){
                      $(".fileContainer").append("&lt;p id='waiting' style='margin-left:45%; margin-top:20%;'&gt;" + waitingText + "&lt;/p&gt;");
                  },
                  success: function (response) {
                      $("p#waiting").remove();
                      $(".fileContainer").append("&lt;form action='/file-upload' class='dropzone' id='my-awesome-dropzone'&gt;&lt;/form&gt;");
                      $(".fileContainer").append(response); 
                  }
           });  
  </code></pre>
  
  <p>and this PHP code:</p>
  
  <pre><code>$path = $_POST["path"];
  $contents = ftp_nlist($conn_id, $path);
  .
  .
  .
  echo $resultString
  </code></pre>
  
  <p>When i try to list the file of a directory with a single word as folder name (e.g "testFolder") i can list his file, but if i try to open a folder with two or more words(e.g "test folder") the php return nothing as result string.
  Why?</p>
  
  <p>This is a log file of cmd ftp that prove that i can access to the directory:</p>
  
  <pre><code>ftp&gt; cd "Ftp test" 
  250 OK. Current directory is /test/Ftp test 
  ftp&gt; ls 
  200 PORT command successful 
  150 Connecting to port 50714 
  Cattura27.PNG 
  Query.txt 
  indirizzi per davide.csv 
  226 3 matches total ftp: 55 bytes received in 0.01secondi 11.00Kbyte/sec)     
  ftp&gt; –
  </code></pre>