ftpstats: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/sbin/ftpstats - from package: proftpd-basic

You may install the required package with command apt-get install {package}
Error in other languages:
ftpstats: bevel nie gevind nie
ftpstats: comandă negăsită
ftpstats: comando não encontrado
ftpstats: commande introuvable
ftpstats: command not found
ftpstats: käsku ei ole
ftpstats: không tìm thấy lệnh
ftpstats: komanda nerasta
ftpstats: Kommando nicht gefunden.
ftpstats: kommandot finns inte
ftpstats: komut yok
ftpstats: nie znaleziono polecenia
ftpstats: níor aimsíodh an t-ordú
ftpstats: no se encontró la orden
ftpstats: no s'ha trobat l'ordre
ftpstats: opdracht niet gevonden
ftpstats: parancs nem található
ftpstats: perintah tidak ditemukan
ftpstats: príkaz nenájdený
ftpstats: příkaz nenalezen
ftpstats: команда не найдена
ftpstats: командата не е открита
ftpstats: 命令找不到
ftpstats: コマンドが見つかりません