• About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy Policy
  • Change the purpose of use

Tnhelearning.edu.vn - Various useful general information portal

  • Photo
  • Bio
  • How To
  • Tech

How to Set Up an FTP Server on Ubuntu Linux

February 19, 2024 by admin Category: How To

You are viewing the article How to Set Up an FTP Server on Ubuntu Linux  at Tnhelearning.edu.vn you can quickly access the necessary information in the table of contents of the article below.

X

This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

This article has been viewed 5,797 times.

This wikiHow teaches you how to set up and connect to an FTP server on a computer running Ubuntu Linux. FTP servers are useful in storing data from a computer and allowing others to browse through those files. To establish a connection from your computer, you need an FTP server. You also need to update to the latest version of Ubuntu.

Table of Contents

  • Steps
    • Install FTP framework
    • Configure FTP server
    • Add username to chroot list
    • Server Access
  • Advice
  • Warning

Steps

Install FTP framework

Image titled Set up an FTP Server in Ubuntu Linux Step 1

Image titled Set up an FTP Server in Ubuntu Linux Step 1

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/23/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-1-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-1-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 2/23/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-1-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-1-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
You need to make sure that the Ubuntu version is the latest. Ubuntu versions 17.10 and later have a lot of different file paths than previous versions, so you need to update to the latest Ubuntu version: [1] X Research Source

  • Open Terminal
  • Type the command sudo apt-get upgrade and then press ↵ Enter .
  • Enter the password and press ↵ Enter .
  • Type y when it appears, then press ↵ Enter .
  • Wait for the upgrade to complete the installation, then restart your computer if prompted.
Image titled Set up an FTP Server in Ubuntu Linux Step 2

Image titled Set up an FTP Server in Ubuntu Linux Step 2

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/04/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-2-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-2-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 0/04/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-2-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-2-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Open Terminal. Click the Applications menu ⋮⋮⋮ , scroll down and click the Terminal icon to proceed.

  • You can also press Alt + Ctrl + T to open Terminal.
Image titled Set up an FTP Server in Ubuntu Linux Step 3

Image titled Set up an FTP Server in Ubuntu Linux Step 3

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ed/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-3-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-3-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ e/ed/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-3-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-3-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Enter the VSFTPD install command. Type the command sudo apt-get install vsftpd into Terminal, then press ↵ Enter .
Image titled Set up an FTP Server in Ubuntu Linux Step 4

Image titled Set up an FTP Server in Ubuntu Linux Step 4

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/99/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-4-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-4-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 9/99/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-4-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-4-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Enter password. Type the password that you use to log in to the computer, then press ↵ Enter .
Image titled Set up an FTP Server in Ubuntu Linux Step 5

Image titled Set up an FTP Server in Ubuntu Linux Step 5

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/04/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-5-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-5-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 0/04/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-5-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-5-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Wait for VSFTPD to install. This will take about 5-20 minutes depending on your FTP setup and Internet connection, so please be patient.
Image titled Set up an FTP Server in Ubuntu Linux Step 6

Image titled Set up an FTP Server in Ubuntu Linux Step 6

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ed/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-6-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-6-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ e/ed/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-6-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-6-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Install FileZilla. This is the program that you will use to access and upload data to the server. To install, do:

  • Enter the command sudo apt-get install filezilla
  • Re-enter your password if asked.
  • Wait for the installation to complete.
READ More:   How to Vaccinate Dogs

Configure FTP server

Image titled Set up an FTP Server in Ubuntu Linux Step 7

Image titled Set up an FTP Server in Ubuntu Linux Step 7

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/38/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-7-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-7-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 3/38/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-7-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-7-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Open the VSFTPD configuration file. Type the command sudo nano /etc/vsftpd.conf and press ↵ Enter . You will need to edit this file to enable (or disable) specific VSFTPD features.
Image titled Set up an FTP Server in Ubuntu Linux Step 8

Image titled Set up an FTP Server in Ubuntu Linux Step 8

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/2f/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-8-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-8-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 2/2f/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-8-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-8-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Allow local users to login to the FTP server. Use the arrow keys and scroll down to the # Uncomment this to allow local users to log in. , then remove the “#” sign from the local_enable=YES line below. [2] X Research Source

  • You can remove the “#” sign by using the arrow keys and selecting the letter before the pound sign (in this case, “l”) and then pressing the ← Backspace key.
  • Skip this step if the line local_enable=YES does not have a pound sign.
Image titled Set up an FTP Server in Ubuntu Linux Step 9

Image titled Set up an FTP Server in Ubuntu Linux Step 9

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/2f/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-9-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-9-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 2/2f/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-9-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-9-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Allow FTP to write commands. Scroll down to the heading # Uncomment this to enable any form of FTP write command. , then remove the “#” sign from the write_enable=YES line below.

  • Skip this step if the write_enable=YES line does not have a pound sign.
Image titled Set up an FTP Server in Ubuntu Linux Step 10

Image titled Set up an FTP Server in Ubuntu Linux Step 10

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a4/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-10-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-10-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ a/a4/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-10-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-10-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Disable ASCII scrambling. Scroll down to the heading # ASCII mangling is a horrible feature of the protocp. , then remove the “#” sign from the following two lines:

  • ascii_upload_enable=YES
  • ascii_download_enable=YES
Image titled Set up an FTP Server in Ubuntu Linux Step 11

Image titled Set up an FTP Server in Ubuntu Linux Step 11

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b8/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-11-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-11-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ b/b8/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-11-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-11-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Change the “chroot” setting. Scroll down to the # chroot) , then add the following lines:

  • user_sub_token=$USER
  • chroot_local_user=YES
  • chroot_list_enable=YES
  • If any of the lines above already exist, simply remove the “#” in front of them.
Image titled Set up an FTP Server in Ubuntu Linux Step 12

Image titled Set up an FTP Server in Ubuntu Linux Step 12

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/15/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-12-Version-3.jpg/ v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-12-Version-3.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/ 1/15/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-12-Version-3.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux- Step-12-Version-3.jpg”,”smallWidth”:460,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output “></div>”}
Change the default “chroot” setting. Scroll down to the header (default fplows) , then add the following lines:

  • chroot_list_file=/etc/vsftpd.chroot_list
  • local_root=/home/$USER/Public_html
  • allow_writeable_chroot=YES
  • If any of the lines above already exist, simply remove the “#” in front of them.
Image titled Set up an FTP Server in Ubuntu Linux Step 13

Image titled Set up an FTP Server in Ubuntu Linux Step 13

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/0e/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-13.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-13.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/0e/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-13.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-13.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Enable the “ls recursive function” option. Scroll down to the heading # You may activate the "-R" option... , then remove the “#” sign from the ls_recurse_enable=YES line below.
Image titled Set up an FTP Server in Ubuntu Linux Step 14

Image titled Set up an FTP Server in Ubuntu Linux Step 14

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/78/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-14.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-14.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/78/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-14.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-14.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Save and exit the text editor. To proceed, you:

  • Press Ctrl + X
  • Enter y
  • Press Enter

Add username to chroot list

Image titled Set up an FTP Server in Ubuntu Linux Step 15

Image titled Set up an FTP Server in Ubuntu Linux Step 15

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/bf/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-15.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-15.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/bf/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-15.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-15.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Open the “chroot” text file. Type the command sudo nano /etc/vsftpd.chroot_list and press ↵ Enter .

  • You can skip and go to the last step in this section if you don’t need to specify who can access the FTP server.
READ More:   How to Go to YouTube at School
Image titled Set up an FTP Server in Ubuntu Linux Step 16

Image titled Set up an FTP Server in Ubuntu Linux Step 16

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/21/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-16.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-16.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/21/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-16.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-16.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Enter password. Type the password you use to log in to Ubuntu and then press ↵ Enter . The text file “chroot” will open.

  • Skip this step if the system does not ask you to enter a password.
Image titled Set up an FTP Server in Ubuntu Linux Step 17

Image titled Set up an FTP Server in Ubuntu Linux Step 17

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ef/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-17.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-17.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/e/ef/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-17.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-17.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Add the username to the list. Type in your username and press ↵ Enter , then repeat for the usernames that own the Home folder you want to access right on your server.
Image titled Set up an FTP Server in Ubuntu Linux Step 18

Image titled Set up an FTP Server in Ubuntu Linux Step 18

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ab/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-18.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-18.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ab/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-18.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-18.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Save the list. Press Ctrl + X , type y and then press ↵ Enter . Your list will be saved.
Image titled Set up an FTP Server in Ubuntu Linux Step 19

Image titled Set up an FTP Server in Ubuntu Linux Step 19

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/ab/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-19.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-19.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/ab/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-19.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-19.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Restart VSFTPD. Type the command sudo systemctl restart vsftpd and then press ↵ Enter . VSFTPD will restart to ensure that your changes have been saved. You should now be able to access the FTP server. [3] X Research Sources

Server Access

Image titled Set up an FTP Server in Ubuntu Linux Step 20

Image titled Set up an FTP Server in Ubuntu Linux Step 20

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/2e/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-20.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-20.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/2e/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-20.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-20.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Specify the address of the server. If you purchased an FTP server through a third-party service (for example, Bluehost), you’ll need to know the service’s IP address or a regular address to make the connection. [4] X Research Sources

  • If you’re keeping your own server on your computer and you’ll need your computer’s IP address, type the command ifconfig into the Terminal and see the “inet addr” number in the results.
    • If “ifconfig” is not installed, you can enter the command sudo apt-get install net-tops into the Terminal to install it.
Image titled Set up an FTP Server in Ubuntu Linux Step 21

Image titled Set up an FTP Server in Ubuntu Linux Step 21

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/9c/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-21.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-21.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/9/9c/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-21.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-21.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Port forwarding on the router . Once you know the server IP address, you need to forward your router’s 21-slot port to it; make sure this port uses TCP protocol (not UDP or hybrid type).

  • The port forwarding process will vary depending on the router, you should refer to the relevant article or the router’s documentation for instructions.
Image titled Set up an FTP Server in Ubuntu Linux Step 22

Image titled Set up an FTP Server in Ubuntu Linux Step 22

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/e7/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-22.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-22.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/e/e7/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-22.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-22.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Open Filezilla. Type filezilla into Terminal and press ↵ Enter . After a while, FileZilla will open.

  • If you want to connect through Terminal, you can try entering the command ftp [address] . As long as the FTP server is working and you have Internet access, the system will try to connect to the server; however, you may not be able to upload files.
Image titled Set up an FTP Server in Ubuntu Linux Step 23

Image titled Set up an FTP Server in Ubuntu Linux Step 23

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/19/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-23.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-23.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/19/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-23.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-23.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Click File in the upper-left corner of the FileZilla window. A drop-down menu will appear.
Image titled Set up an FTP Server in Ubuntu Linux Step 24

READ More:   How to Stop Sadness

Image titled Set up an FTP Server in Ubuntu Linux Step 24

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/38/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-24.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-24.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/38/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-24.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-24.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Click Site Manager… (Site Manager). This option is in the drop-down menu. The Site Manager window will open.
Image titled Set up an FTP Server in Ubuntu Linux Step 25

Image titled Set up an FTP Server in Ubuntu Linux Step 25

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a1/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-25.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-25.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a1/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-25.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-25.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Click New Site . This white button is in the bottom left of the window. The New Site section will open in Site Manager.
Image titled Set up an FTP Server in Ubuntu Linux Step 26

Image titled Set up an FTP Server in Ubuntu Linux Step 26

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/50/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-26.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-26.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/50/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-26.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-26.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Enter the server address. Enter the address (or IP address) of the FTP server you want to connect to in the “Host:” field. [5] X Research Sources
Image titled Set up an FTP Server in Ubuntu Linux Step 27

Image titled Set up an FTP Server in Ubuntu Linux Step 27

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4c/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-27.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-27.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/4c/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-27.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-27.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Add the port number to be forwarded. Enter 21 in the “Port:” data field.
Image titled Set up an FTP Server in Ubuntu Linux Step 28

Image titled Set up an FTP Server in Ubuntu Linux Step 28

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/3a/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-28.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-28.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/3a/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-28.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-28.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
Click Connect . This red button is at the bottom of the page. FileZilla will connect the computer to the FTP server.
  • Image titled Set up an FTP Server in Ubuntu Linux Step 29

    Image titled Set up an FTP Server in Ubuntu Linux Step 29

    {“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b4/Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-29.jpg/v4-728px- Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-29.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b4/Set-up- an-FTP-Server-in-Ubuntu-Linux-Step-29.jpg/v4-728px-Set-up-an-FTP-Server-in-Ubuntu-Linux-Step-29.jpg”,”smallWidth”:460 ,”smallHeight”:258,”bigWidth”:728,”bigHeight”:409,”licensing”:”<div class=”mw-parser-output”></div>”}
    Transfer files to the server. You can drag the folder located in the left window and drop it in the right window to upload the data to the FTP server page.
  • Advice

    • Port 20 forwarding can solve some network problems if you are keeping your own server.
    • The process of connecting to an FTP server on Ubuntu 17 and later versions will be slightly different from previous versions, so you will need to update Ubuntu to version 17.10 (or higher) if you have not already done so.

    Warning

    • FTP servers aren’t always secure, especially if you’re keeping your own server. Therefore, you should refrain from uploading personal/sensitive information to the FTP server.
    X

    This article is co-authored by a team of editors and trained researchers who confirm the accuracy and completeness of the article.

    The wikiHow Content Management team carefully monitors the work of editors to ensure that every article is up to a high standard of quality.

    This article has been viewed 5,797 times.

    This wikiHow teaches you how to set up and connect to an FTP server on a computer running Ubuntu Linux. FTP servers are useful in storing data from a computer and allowing others to browse through those files. To establish a connection from your computer, you need an FTP server. You also need to update to the latest version of Ubuntu.

    Thank you for reading this post How to Set Up an FTP Server on Ubuntu Linux at Tnhelearning.edu.vn You can comment, see more related articles below and hope to help you with interesting information.

    Related Search:

    Related Posts

    How to Create Curved Text in Photoshop
    How to fall asleep faster
    How to Install FBReader to Read eBooks

    Category: How To

    Previous Post: « How to Identify Dehydration in Dogs
    Next Post: How to politely decline an invitation »

    Copyright © 2025 · Tnhelearning.edu.vn - Useful Knowledge