Hostwinds Tutorials

Search results for:

Table of Contents

Enable Uploading via FTP

Install FTP Server on Ubuntu

Tags: FTP,  Ubuntu 

Enable Uploading via FTP

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 always listens for FTP requests on the assigned port (port 21 by default).

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

sudo apt install vsftpd

Enable Uploading via FTP

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


Next, restart vsftpd:

sudo systemctl restart vsftpd.service

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), uncommenting the line:


Written by Hostwinds Team  /  August 22, 2019