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.
How to install FTP client to connect ftp server ?
When no FTP client installed on the host, you will get this error :
[[email protected] ~]# ftp localhost -bash: ftp: command not found
To install ftp client on RHEL 6, you need to run the following command :
Steps to Install FTP Client :
1. Install via yum command :
[[email protected] ~]# yum install ftp
2. How to connect to ftp server ?
[[email protected] ~]# ftp ftp.ehowstuff.com
[[email protected] ~]# ftp ftp.ehowstuff.com Connected to ftp.ehowstuff.com (18.104.22.168). 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>