What Is an FTP Server?
An FTP server is the software running on a hosting machine that listens for incoming FTP (or FTPS) connections, checks the username and password, and then grants access to a specific folder of files. It is the counterpart to the FTP client installed on your own computer. Common FTP server programs include vsftpd, ProFTPD and Pure-FTPd on Linux, and the FTP service built into Microsoft IIS on Windows.
What the FTP server software does
On almost all hosting plans, the FTP server is already installed and running; the host handles it so customers never have to touch it directly. When an FTP client connects, the server:
- Listens on the control port, usually port 21.
- Checks the supplied username and password against its list of FTP accounts.
- Confines the login to a specific home directory, often locked to that account's folder only.
- Opens a separate data connection, in active or passive mode, to actually send or receive files.
- Logs the session for the host's own records.
Common FTP server software
| Software | Platform | Notes |
|---|---|---|
| vsftpd | Linux | Lightweight, security-focused, widely used by hosting providers |
| ProFTPD | Linux | Highly configurable, module-based |
| Pure-FTPd | Linux | Simple configuration, common on shared hosting |
| Microsoft FTP Service (IIS) | Windows Server | Built into IIS, managed through the IIS Manager console |
Creating and securing an FTP account
On shared hosting you rarely install an FTP server yourself; instead, a control panel like cPanel lets you create an "FTP account," which is really just a new login tied to the existing FTP server and scoped to one folder. On a VPS or dedicated server you install and configure the server software yourself. A basic setup on Ubuntu looks like this:
sudo apt update
sudo apt install vsftpd
sudo systemctl enable --now vsftpd
sudo nano /etc/vsftpd.conf
Good security practice for any FTP server includes disabling anonymous login, requiring FTPS or offering SFTP instead, restricting each account to its own directory, and opening only a narrow passive port range on the firewall.
FTP server vs. FTP client
The server and the client are two separate pieces that work together. The server runs on the hosting machine, stays running at all times, and waits for connections. The client is the program you run on your own computer, such as FileZilla or WinSCP, that initiates the connection. You never run the server software yourself on shared hosting, and you never need to install a client on the hosting machine.
Frequently asked questions
What is an FTP server used for?
An FTP server lets a website owner upload, download and manage files on a hosting account remotely, such as deploying site files, downloading backups or retrieving log files.
What is the difference between an FTP server and an FTP client?
The FTP server is software on the hosting machine that waits for connections and holds the files. The FTP client is the program on your own computer, such as FileZilla, that connects to the server to transfer files.
Do I need to install an FTP server on shared hosting?
No. Shared hosting already runs an FTP server for you; you only create an FTP account through your control panel, which adds a login scoped to a folder on that existing server.
Which FTP server software is most common on Linux hosting?
vsftpd, ProFTPD and Pure-FTPd are the three most widely used FTP server programs on Linux hosting, with vsftpd particularly common because of its security-focused design.
Is it safe to run my own FTP server on a VPS?
It can be, if configured carefully: disable anonymous access, prefer FTPS or SFTP over plain FTP, restrict accounts to their own folders, and open only the needed ports on the firewall.
What port does an FTP server listen on?
The control connection uses port 21 by default, while file transfers use separate data connections, either on dynamic ports in passive mode or server-initiated connections in active mode.
Related topics
- FTP vs. SFTP vs. FTPS FTP & File Management
- What Is FTP? FTP & File Management
- File Manager vs. FTP FTP & File Management
- What Is a Hosting Plan? Hosting Basics
- What Is Shared Hosting? Hosting Basics