Note that getFromIndex returns false for directories.
clay loveless
If you'd like to use this method with the flags listed, you need to specify the length of the entry to retrieve as the second parameter, with the flags as the third parameter.
In otherwords, as indicated in the source:
string getFromIndex(string entryname[, int len [, int flags]])