disk_free_space

(FW >= 1.55)

disk_free_space- Returns available space on sd card in kilobytes

Description

int disk_free_space()
This function will return the number of kilobytes available on the microSD card

Parameters

None

Return Value

Returns the number of available bytes as an int.

Examples

<? 
// $df contains the number of bytes available 
$df = disk_free_space(); 
print("The card has ".$df." kilobytes free."); 
?>