(
free space of drive
(
first 2 of
(
value "value" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\_BESRelay_HTTPServer_ServerRootPath" of x32 registry as string
)
)
+
(
sum of
(
sizes of files of folders of folder
(
(
if
(
value of setting "_BESRelay_HTTPServer_ServerRootPath" of client
)
ends with "\" then
(
(
value of setting "_BESRelay_HTTPServer_ServerRootPath" of client
)
& "bfmirror\downloads"
)
else
(
(
value of setting "_BESRelay_HTTPServer_ServerRootPath" of client
)
& "\bfmirror\downloads"
)
)
)
)
)
)
<free space of drive whose
(
type of it = "DRIVE_FIXED" AND free space of it = maximum of
(
free spaces of drives whose
(
type of it = "DRIVE_FIXED"
)
)
)
(free space of drive (first 2 of (value "value" of key "HKEY_LOCAL_MACHINE\SOFTWARE\BigFix\EnterpriseClient\Settings\Client\_BESRelay_HTTPServer_ServerRootPath" of x32 registry as string)) + (sum of (sizes of files of folders of folder ((if(value of setting "_BESRelay_HTTPServer_ServerRootPath" of client) ends with "\" then ((value of setting "_BESRelay_HTTPServer_ServerRootPath" of client) & "bfmirror\downloads") else ((value of setting "_BESRelay_HTTPServer_ServerRootPath" of client) & "\bfmirror\downloads")))))) <free space of drive whose (type of it = "DRIVE_FIXED" AND free space of it = maximum of (free spaces of drives whose (type of it = "DRIVE_FIXED")))