Platforms to show: All Mac Windows Linux Cross-Platform
FileListMBS.LogicalResourceLength(index as Integer) as Int64
Function:
The logical resource length of the item with the given index.
Notes: Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes: Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.ModificationDate(index as Integer) as Double
Function:
The modification date.
Notes:
On Mac OS the UTC date (+0 time zone)
On Windows looks like local timezone.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
On Mac OS the UTC date (+0 time zone)
On Windows looks like local timezone.
Raises an exception if index is out of bounds. Index is zero based.
See also:
FileListMBS.ModificationDate(index as Integer, UTC as boolean) as Date
Function:
The modification date.
Notes:
Either in UTC time zone or in local time zone.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 13.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Notes:
Either in UTC time zone or in local time zone.
Raises an exception if index is out of bounds. Index is zero based.
See also:
FileListMBS.ModificationDateTime(index as integer, UTC as boolean) as DateTime
Function:
The modification date.
Notes:
Either in UTC time zone or in local time zone.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 20.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Either in UTC time zone or in local time zone.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.Name(index as Integer) as string
Function:
The name of the item with the given index.
Notes:
May return a Unicode string, so be carefull with encoding.
Returns "" on any error.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
May return a Unicode string, so be carefull with encoding.
Returns "" on any error.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.NodeID(index as Integer) as Int64
Function:
The Mac node ID for the given file or directory.
Notes:
The node id is zero on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 9.1 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Notes:
The node id is zero on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.ParentDirectoryID(index as Integer) as Int64
Function:
The Mac ID for the parent directory.
Notes:
Parent Directory ID is zero on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 9.1 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Notes:
Parent Directory ID is zero on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.PhysicalDataLength(index as Integer) as Int64
Function:
The physical data length of the item with the given index.
Notes:
Returns 0 on any error.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Returns 0 on any error.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.PhysicalResourceLength(index as Integer) as Int64
Function:
The physical resource length of the item with the given index.
Notes:
Value is always 0 on Windows.
Returns 0 on any error.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Value is always 0 on Windows.
Returns 0 on any error.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.SortByCreationDate
Function:
Sorts items in list by creation date.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
FileListMBS.SortByFileName
Function:
Sorts items in list by file names.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
FileListMBS.SortByModificationDate
Function:
Sorts items in list by modification date.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
FileListMBS.TrueItem(index as Integer) as folderitem
Function:
Creates a folderitem for the item with the given index.
Notes:
Returns nil on any error.
The reason why you use this class is to avoid makeing folderitems which is slow, so don't use this function too often.
TrueItem will on Windows use GetTrueFolderItem instead of GetFolderItem so the link files are not resolved by Xojo.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
Returns nil on any error.
The reason why you use this class is to avoid makeing folderitems which is slow, so don't use this function too often.
TrueItem will on Windows use GetTrueFolderItem instead of GetFolderItem so the link files are not resolved by Xojo.
FileListMBS.Type(index as Integer) as string
Function:
The Mac Type code of the item with the given index.
Notes:
Always "" on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ❌ No | ✅ Yes | ✅ Yes | All |
Notes:
Always "" on Windows and Linux.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.Visible(index as Integer) as boolean
Function:
Whether the item with the given index is visible.
Notes:
On Mac OS X, files with name starting with "." are considered to be invisible.
False on any error.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
On Mac OS X, files with name starting with "." are considered to be invisible.
False on any error.
Raises an exception if index is out of bounds. Index is zero based.
FileListMBS.WinFileAttributes(index as Integer) as Integer
Function:
The file attributes for this file on Windows.
Notes:
Value is 0 on other platforms.
Raises an exception if index is out of bounds. Index is zero based.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Files | MBS Util Plugin | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes | All |
Notes:
Value is 0 on other platforms.
Raises an exception if index is out of bounds. Index is zero based.
The items on this page are in the following plugins: MBS Util Plugin.

Links
MBS FileMaker tutorial videos