How to Install and Configure FTP Server in Ubuntu

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

8 Responses

  1. Andy says:

    Do I have to create a file named vsftpd.userlist or does it come as part of vsftpd.config?

  2. Myles says:

    Stellar! Great work and thanks for the service you provide.

  3. hotbelgo says:

    I followed your instructions but ended up being unable to write files to the server, even though I could create directories –

  4. Aditya Raj Das says:

    My FTP configuration is similar to this tutorial but still i am stuck down with below message. I am using Kali Linux as server and Ubuntu as client.

    230 Login successful.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> pwd
    257 "/home/user/ftp_share/files_share" is the current directory
    ftp> ls
    200 PORT command successful. Consider using PASV.
    425 Failed to establish connection.
    • Aaron Kili says:


      Note that here, we used Ubuntu as the server.

      Consider using passive ports in the config file, open the port range say 40000-50000 in the firewall like so:
      sudo ufw allow 40000:50000/tcp

      And add the options below in the config file:

      Save the file and restart the vsftpd services:
      sudo systemctl restart vsftpd

      Do write back in case it fails to work.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.