Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function GETFREESPACE

Returns the number of unallocated bytes in the partition named by this abstract path name.
The returned number of unallocated bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.

Example

getfreespace(object filepath):numeric

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
filepath object  Yes file path