Linux Administrator

How to Install FTP Client to Connect FTP Server on CentOS/Fedora/RHEL?

The File Transfer Protocol (FTP) is used to transfer files between two computers over a network and Internet. 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.

In this article I will explain how to install ftp client on CentOS/Fedora/RHEL system.

What is FTP?

When you want to copy files between two computers that are on the same local network, often you can simply “share” a drive or folder, and copy the files the same way you would copy files from one place to another on your own PC.

What if you want to copy files from one computer to another that is halfway around the world? You would probably use your Internet connection. However, for security reasons, it is very uncommon to share folders over the Internet. File transfers over the Internet use special techniques, of which one of the oldest and most widely-used is FTP. FTP, short for “File Transfer Protocol,” can transfer files between any computers that have an Internet connection, and also works between computers using totally different operating systems.

Transferring files from a client computer to a server computer is called “uploading” and transferring from a server to a client is “downloading”.

If there is no ftp client is installed on your system you will get below error:

# ftp localhost
-bash: ftp: command not found

To install ftp client, you need to run the following command:

Install FTP Client

Follow the below command to install ftp client.

1. Install below package using yum command.

# yum install ftp

2. Follow the below command to connect to ftp server.

# ftp


# ftp localhost


# ftp
Connected to (
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 ( user1
331 User user1 OK. Password required
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author


Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment