zftp-gfortran: 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/zftp-gfortran - from package: cernlib-packlib-gfortran

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