ID:1126219
 
(See the best response by Murrawhip.)
Is there a way to get a list of local directories (server side). I'm trying to automatically detect a set of folders, and get each folder's name, and put it into a list.
Not really, you can save them to a list or if the host is on a Linux box you could shell("ls /folder/") which would show the folders inside that folder. Or for windows write a quick .bat script to print them.

The server would have to be in trusted mode for this.
You can also use a DLL (On Windows, obviously) which gives you all the folders.
In response to Blastcore
Yes you can, although a batch script is simple you don't need to buy or download any software to compile it, all you need is notepad and some common sense :)
Best response
flist does this. You would filter out whether an entry is a directory with copytext(entry,-1)=="/"
In response to Murrawhip
I can't believe I forgot that ..., I did search the reference for folder not dir or path :(
Wow this is amazing. I can render all of my game's artwork into BYOND format from the pixel artist's image files by running a single dmb unattended.

Thanks everyone.