FMS - get directory

Short and concise :
How do i access the file directory on my fms server?

For instance, if i have 10 recordings on my server, how do i return the available recording-names on my server to the application?

Thanks