Hello,
Unfortuanately, it is quite impossible to list files from another server unless:
1. There is no DirectoryIndex directive in the .htaccess for the directory you want to list
2. The server access config allows it to list files if there is no such directive.
Possibly better but less secure option would be to host a special script on the remote server that lists the files to the external calling script.
__________________
onPHP5.com -
PHP5: Articles, News, Tutorials, Interviews, Software and more