ExtFreeDiskSpace is a LiveCode external for iOS, which contains two functions to read the total and freedisk space and returns these values as integers measured in kilobytes.
Example
This script calls the external. It returns the number of available gigabytes in new style (1000kilobytes in a megabyte):
function freeDiskSpace00
put 1000^2 into mySq1000
set the numberFormat to “#.00”
put extFreeDiskSpace()/mySq1000 into myGBs
return myGBs && “GB”
end freeDiskSpace00
More information is included in the Read Me file. Note: the current version works with Arm7 processors only. You can download the external from Economy-x-Talk’s website.