To install an FTP server on Ubuntu 11.04/10.10/10.04, launch the Terminal and issue this command:
sudo apt-get install vsftpd
To configure your FTP server, you need to edit this conf file: /etc/vsftpd.conf. This can be done via the Terminal with this command:
sudo gedit /etc/vsftpd.conf
To enable/disable anonymous FTP, search for the following line in the /etc/vsftpd.conf file:
anonymous_enable=
YES --> Enabled
NO --> Disabled
To allow users to upload files to your FTP server, edit this line:
write_enable=YES
To allow/disallow local users to connect to your server, search for this line:
local_enable=
YES --> Allow
NO --> Disallow
For your modifications to be taken into account, you need to restart the FTP server with this command:
sudo /etc/init.d/vsftpd restart
Now check by typing in terminal following command
telnet 127.0.0.1 21
it will ask you for login
login with your
user account password ...thats it!!
its working!!!
sudo apt-get install vsftpd
To configure your FTP server, you need to edit this conf file: /etc/vsftpd.conf. This can be done via the Terminal with this command:
sudo gedit /etc/vsftpd.conf
To enable/disable anonymous FTP, search for the following line in the /etc/vsftpd.conf file:
anonymous_enable=
YES --> Enabled
NO --> Disabled
To allow users to upload files to your FTP server, edit this line:
write_enable=YES
To allow/disallow local users to connect to your server, search for this line:
local_enable=
YES --> Allow
NO --> Disallow
For your modifications to be taken into account, you need to restart the FTP server with this command:
sudo /etc/init.d/vsftpd restart
Now check by typing in terminal following command
telnet 127.0.0.1 21
it will ask you for login
login with your
user account password ...thats it!!
its working!!!
local_root=/folder
ReplyDeleteadd this to vsftpd.conf to change default login directory of user in ftp....