There are many, its quite easy to make. Here is a basic example, command is /flashstats <all|fxp|up|down>
Note that these scripts only work when flashfxp's application security is turned off (otherwise cant read encrypted data files)
Code:
Alias -l re.fs.pdate { return $asctime($re.fs.rdate,mmm doo yyyy) }
Alias -l re.fs.rdate { return $calc(($left($re.fs.b(LR),5) - 25569) * 86400) }
Alias -l re.fs.b { return $readini " $+ %re.fs.p $+ stats.dat" #Total# $1 }
Alias -l re.fs.ks { return $bytes($calc(($1) / ($ctime - $2))).suf $+ $iif($right($bytes($calc(($1) / ($ctime - $2))).suf,1) != B,B) $+ /s }
Alias -l re.fs.bd { return $bytes($calc(($1) / (($ctime - $2) / 60 / 60 / 24))).suf $+ $iif($right($bytes($calc(($1) / (($ctime - $2) / 60 / 60 / 24))).suf,1) != B,B) $+ /day }
Alias -l re.fs.a { return $bytes($1).suf $+ $iif($right($bytes($1).suf,1) != B,B) }
Alias -l re.fs.c { if (%re.fs.p == $null) { %re.fs.p = $sdir(C:\.Please select the directory your FlashFXP sites/stats data files are located in) } }
Alias -l re.fs.sl { say 04«14FlashFXP Stats04» 14Since:15 $re.fs.pdate 14Sites:15 $ini( [ %re.fs.p $+ sites.dat ] ,0) 14Connects:15 $re.fs.b(TC) 04«14RedEye04» }
Alias flashstats { refxp $1- }
Alias refxp {
re.fs.c
var %z
if ($1 == all) { %z = $re.fs.return(X,FXP'd) | %z = %z $re.fs.return(FD,Download) | %z = %z $re.fs.return(FU,Upload) | re.fs.sl }
elseif ($1 == fxp) { %z = $re.fs.return(X,FXP'd) }
elseif ($1 == up) { %z = $re.fs.return(FU,Upload) }
elseif ($1 == down) { %z = $re.fs.return(FD,Download) }
else { halt }
say %z
}
Alias -l re.fs.return {
var %x $re.fs.b($1), %i $re.fs.rdate
var %ks = $re.fs.ks(%x,%i), %bd = $re.fs.bd(%x,%i), %t = $re.fs.a(%x)
return 14Total $2 $+ :15 %t 04{-14 %ks 04||14 %bd 04-}
}