FW >= 1310
Get the file system type
<span style=“color:green”>int <span style=“color:blue”>disk_index<span style=“color:black”>: disk index - 0 for SD card, 1 for flash and 2 for RAM
Disk format:
<? $dt=disk_type(0); if ($dt==1) $type = "FAT12"; if ($dt==2) $type = "FAT16"; if ($dt==3) $type = "FAT32"; if ($dt==4) $type = "EXFAT"; print("Your SD card is formatted as ".$type); ?>