$WBFUT - bytes total
Availability
$WBFUT is available for use with all WBSP
commands.
Syntax
$WBFUT{FULID}
$WBFUT[FULID]
Parameters
FULID - server-side generated unique form upload ID
generated using WB_FULID variable and retrieved with $WBFULID tag.
Returns
Total bytes that should be uploaded by form identified with
FULID.
Here's an example:
[FormFields]
wb_command=r
wb_showlogo=f
<!--WB_BeginTemplate-->
<html>
<head>
<meta
http-equiv="refresh"
content="1">
</head>
<body>
Uploaded:
$wbformat[$wbcalc[$wbfup[$wbv[fid]]/$wbfut[$wbv[fid]]*100]|0.00]
%
</body>
</html>
After running this example
(together with upload.wbsp file that can be found here), WhizBase will display the upload
progress.