Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.LogicalFileTotalLengthMBS as int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Files MBS Util Plugin 7.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the length of the logical disk space used for this file's datafork.
Example
filesize.text=format(file.LogicalFileTotalLengthMBS,"0")

This function works for files bigger than 2 GB which RB's built in functions don't.
On Windows the physical size reported is equal to the logical size, because there is no function for the physical size.

Some examples using this method:

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...