The c# `GetFiles()` function is provided to read things from the local hard drive. It's not possible for it to read from a web server, and why would you think a web server can even provide you a list of files? If you want that, then implement a PHP script that runs on the server which returns the files. That does sound very very strange/odd. You can then use the `WWW` class to fetch this info from the server.
↧