filesystem directory content listing
Posted: Thu Oct 30, 2008 10:41 pm
Hello,
I'm trying to make a simple shell for the Console.lua.
I'm fine about the current working directory or moving to the writable directory (savedir)
but how can I list the content of a directory : like "ls" (linux) or "dir" (DOS) ?
If it's not possible due to not implemented yet...
This feature will be usefull to manage config or cache file in savedir.
For security reason it might be good to not allowing to browse outside of the savedir.
Regards,
I'm trying to make a simple shell for the Console.lua.
I'm fine about the current working directory or moving to the writable directory (savedir)
but how can I list the content of a directory : like "ls" (linux) or "dir" (DOS) ?
If it's not possible due to not implemented yet...
This feature will be usefull to manage config or cache file in savedir.
For security reason it might be good to not allowing to browse outside of the savedir.
Regards,