Was not sure where to post this. How do i view contents of media folder?
ModelPath as string
ModelPath = "/media"
FolderId as integer
FolderId = OpenRawFolder(ModelPath)
DFCount as integer
DFCount = GetRawFolderNumFiles(FolderId)
FolderCount as integer
FolderCount = GetRawFolderNumFolders(FolderId)
Does not error but does not show proper file count.
If i have a directory inside media folder and do this OpenRawFolder(ModelPath/dirname) errors.
Any help is appreciated.