rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: draconas on April 18, 2011, 12:30:58 AM
-
Is there something that I can add to the root folder so it'll show the remaining/total disk space of the hard drive on the website?
-
yes possible with hfs ver 2.3
you can insert the macro in your template:
{.disk free | A .}
returns available disk space for specified "A" path in bytes.
For example, to display available disk space for drive C:\ in Gigabytes use :
{.round|{.div| {.disk free|C:\.} | 1073741824.}|2.}
avalaible HFS scripting commands
here: http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands