Showing posts with label Steps to Setup Anonymous FTP Server in Ubuntu using vsftpd. Show all posts
Showing posts with label Steps to Setup Anonymous FTP Server in Ubuntu using vsftpd. Show all posts

Tuesday, July 19, 2011

Steps to Setup Anonymous FTP Server in Ubuntu using vsftpd

Hi All,

There are many articles on setting FTP server in Ubuntu using vsftpd, but I found that  most of them don't talk about the Anonymous FTP server. So here are the details.
Step 1. Install vsftpd
         > sudo apt-get install vsftpd

Step 2. Need to change the configuration file so that anonymous user can access it.
        > sudo chmod  777 /etc/vsftpd.conf
        > sudo gedit /etc/vsftpd.conf
        > look for anonymous_enable and put its value as YES.
        > if you want to enable local access also, set local_enable as YES.
        > Most important give the directory location where you will put all the files which you want to share.
        for that look for anon_root, if not there then put it there and set its value with location like /home/ftp.

Step 3. your ftp server has been configured now. just start the service
        > sudo service vsftpd restart   or   sudo /etc/init.d/vsftpd start

That's it. just type the ip in browser and you will be able to see all the files in the /home/ftp folder.