ftpcp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ftpcp: command not found
or when using sudo you get the following error message
sudo: ftpcp: command not found
Solutions to ftpcp: command not found
How To Fix ftpcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ftpcp is provided by ftpcopy package.
ftpcopy is:
ftpcopy is a simple FTP client written to copy files or directories (recursively) from an FTP server. It was written to mirror FTP sites which support the EPLF directory listing format, but it also supports the traditional listing format (/bin/ls).
ftpls is an FTP client which generates directory listings, either in plain text or HTML.
The tools only support passive mode FTP. There is no plan to support active mode.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ftpcopy
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ftpcopy.
sudo apt -y install ftpcopy
Or if you have aptitude installed you can use the following command.
sudo aptitude install ftpcopy
Summary
In this tutorial we learn how to fix ftpcp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.