Login
Register
Menu
Home
Help
Search
rejetto forum
PROBLEMS? QUESTIONS? CLICK HERE!
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
HFS beta 277: always show disk space
HFS beta 277: always show disk space
draconas
·
2 ·
3542
« previous
next »
Print
Pages:
1
0 Members and 1 Guest are viewing this topic.
draconas
Occasional poster
Posts:
2
HFS beta 277: always show disk space
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?
Mars
Operator
Tireless poster
Posts:
2059
Re: HFS beta 277: always show disk space
Reply #1 on:
April 18, 2011, 09:29:48 AM
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
Print
Pages:
1
rejetto forum
»
Software
»
HFS ~ HTTP File Server
»
HFS beta 277: always show disk space
Search
Username
Password
Always stay logged in
Forgot your password?