i wont to find a special Dir on many FTP Server's over PHP.
For searching my Server's have an site command like "site dupe
But if I try it with ftp_site I get only a bool back and not the search
With a ftp_nlist I can't search Dir's only files.
And with ftp_rawlist I get this:
 total 3
drwxrwxrwx 4 user group 96 Oct 18 17:24 pub
drwxrwxrwx 29 user group 2000 Oct 31 03:58 bin
drwxrwxrwx 5 user group 120 Oct 18 17:23 misc
the code:
$list=ftp_rawlist($conn_id, "$dir"); 
   echo $list[$i], "<br>"; 
But how to extract only the Dir name from this result, enter it, list
and so on.
Is there any other easier way to search for an Dir?

Reply via email to