/sc_assets/3664/logo.png

Select a topic:

Choose from one of the topics below to browse other articles

Ubuntu

Articles & Information.

Can I set up FTP on my server?

This guide is for Ubuntu

Yes.

Before getting started, though, we should warn you: FTP is inherently insecure, and exposes your server to vulnerability. If you can, use SFTP instead, which works on all servers with no configuration. If, however, you must use FTP, here is how to set up vsftpd on an Ubuntu server.

  1. Install vsftpd
    sudo apt-get install vsftpd
  2. Configure vsftpd
    There are a few configuration settings you'll need to change in the vsftpd configuration file to make full use of your FTP server. Type sudo nano /etc/vsftpd.conf to edit the file. We recommend the following settings:
    local_enable=YES
    write_enable=YES
    anonymous_enable=NO
    chroot_local_user=YES

Now you should be able to connect to your server on port 21 and manage files via FTP.