How to Install FTP Client to connect FTP Server on RHEL 6

Install FTP Client

File Transfer Protocol ( FTP ) is a file transfer protocol used in the network and computing systems. FTP service is very important to ensure the transfer of files can be done. For some servers, though not provide FTP service, FTP client is necessary to be installed so that the client can send files to an FTP server if required. Therefore, I will explain how to install ftp client on Red Hat Enterprise Linux 6 (RHEL 6) or CentOS 6.

Question :
How to install FTP client to connect ftp server ?

When no FTP client installed on the host, you will get this error :

[root@rhel6 ~]# ftp localhost
-bash: ftp: command not found

Answer :
To install ftp client on RHEL 6, you need to run the following command :

Steps to Install FTP Client :

1. Install via yum command :

[root@rhel6 ~]# yum install ftp

2. How to connect to ftp server ?

[root@rhel6 ~]# ftp ftp.ehowstuff.com

Example :

[root@rhel6  ~]# ftp ftp.ehowstuff.com
Connected to ftp.ehowstuff.com (173.171.212.47).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 09:29. Server port: 21.
220 You will be disconnected after 15 minutes of inactivity.
Name (ftp.ehowstuff.com:root): user1
331 User user1 OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>