expect_rftp: 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/bin/expect_rftp - from package: expect

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