I have a FileSystemList that I'm adding through code, and setting the directory on. I want to know if I can find out of the new one thats been added has only folders, or if it has folders AND files in it. is there any way to do that?
Call the getDirectoryListing() method, and check the isDirectory property on each item in the returned array.
If this post answers your question or helps, please mark it as such.
Retrieving data ...