Skip to content

Enable FTP Server in Ubuntu 12.04

July 13, 2012

2. Enable FTP Server in Ubuntu 12.04

In order to let other computer can download or upload files to Ubuntu 12.04 System, You need to set up the FTP Server:

sudo apt-get install vsftpd

After execute the above command, Ubuntu will set up the FTP server with the default configuration.

The Ubuntu FTP Server default configuration will only allow the Anonymous user to access to Ubuntu and the local user authentication way access is disabled.If you want to disable the Anonymous user access or enable the local user access, or make other configuration change, you can edit the FTP configuration file:

/etc/vsftpd.conf

To disable the anonymous user access, change the line:

anonymous_enable=YES

to:

anonymous_enable=NO

To enable the local user access via authentication way, uncomment the line:

#local_enable=YES

to

local_enable=YES

After the above set up, by default, the local user can only download files from Ubuntu, to allow the local user to be able to upload files to Ubuntu, uncomment the line:

#write_enable=YES

to

write_enable=YES

After change, restart the FTP Server:

sudo /etc/init.d/vsftpd restart

Note: Before update, make sure to have a copy of the original one.

From → Ubuntu

2 Comments
  1. Asterisk Setup Ubuntu's avatar

    I havee to thank you for the efforts you’ve put in penning this site.
    I am hoping to view the same high-grade blog posts from you later on as well.
    In truth, your creative writing abilities hass inspired me to get my very owwn site now 😉

Leave a comment

Design a site like this with WordPress.com
Get started