mtp-delfile: 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 CentOS possible default full paths are:

/usr/bin/mtp-delfile - from package: libmtp-examples

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mtp-delfile - from package: mtp-tools

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