Search The Hostwinds Guides Knowledge Base

Install FTP Server on Ubuntu

Share This Article

Installing File Transfer Protocol (FTP) on Ubuntu is a common task that allows you to use FTP for moving files between computers. FTP works on the client-server model. The server component is the FTP Daemon which is always listening for FTP requests on the assinged port (port 21 by default). 

The first step is to install an FTP daemon, we recommend vsftpd.

Enable Uploading via FTP

By default, FTP users can downlaod files, but cannot upload via FTP. To allow users to upload files, edit the file /etc/vsftpd.conf:

Next, restart vsftpd:

Now, when users log in using FTP, they will start in their home directory
(e.g. /home/username) and they can download and upload files to this directory, as well as create and delete directories.

If you want users to be restricted to their home directories, then edit the same file as before (/etc/vsftpd.conf), uncommending the line:

Related Articles