To install ftp sever (vsftpd) click here
Configure /etc/vsftpd.conf
The default vsftpd configuration file is /etc/vsftpd.conf. You need to edit this file using text editor such as vi:
$ sudo vi /etc/vsftpd.conf
Add the following line (uncomment line) to the vsftpd configuration file:
local_enable=YES
Above config directive will allow local users to log in via ftp
If you would like to allow users to upload file, add the following to the file:
write_enable=YES
For security you may restrict local users to their home directories. Add the following to the file:
chroot_local_user=YES
Save and close the file.
Next Step: Restart vsftpd
To restart vsftpd type the command :
$ sudo /etc/init.d/vsftpd restart
output:
vishal@Eva:~$ sudo /etc/init.d/vsftpd restart[sudo] password for vishal: Rather than invoking init scripts through /etc/init.d, use the service(8)utility, e.g. service vsftpd restartSince the script you are attempting to invoke has been converted to anUpstart job, you may also use the stop(8) and then start(8) utilities,e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.vsftpd stop/waitingvsftpd start/running, process 11351
now test this by going to your browser and typing following address:
ftp://127.0.0.1
output: