Checking server content in AS

This is kind of hard to explain, but here it goes…

I am an intermediate actionscripter and I am attempting to make a flash picture gallery for my sister. I want to make it so that the flash movie looks in the image directory of her server and then gets the names of those folders and displays each one of them in a separate movie clip in the flash movie. Then if the user clicked on one of those generated movie clips, it would display the pictures in that corresponding folder on the server.

How would I check the names of the folders in the images directory of the server?