Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.PhysicalFileTotalLengthMBS 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 physical disk space used for this file.
Example
filesize.text=format(file.PhysicalFileTotalLengthMBS,"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:

Blog Entries

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


The biggest plugin in space...