Does anybody know how to list a remote directory to get 
all the filenames into for example an array?

This is easily done on your local server by:
 while (($file = readdir($handle))!==false) {
     $filelist[] = $file;

However, opendir and readdir does not work on remote
servers: $handle=opendir('');

So, does anybody know how to do this.
I know I can read remote files (directory listing) and then
To analyse this for filenames with a lot of string manipulation
operations. Is there a simpler approach?

Håkon Grønning

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to