1) sudo apt-get install vsftpd
2) Edit vsftpd configuration file
sudo gedit /etc/vsftpd.conf
anonymous enable = no
#file upload capability
write_enable = YES
#configuring FTP greeting banner
ftpd_banner = "welcome to my ftp server"
#allowing local user to login
local_enable = YES
3) Restart FTP daemon:-
sudo service vsftpd restart
4) check if your ftp server is working:-
ftp localhost
NB:-
1) if you enable user authentication each user will be able to FTP into their home directory in addition to anonymous access
2) you can't download if you dont have write privileges in the directory in which you start FTP
3) Tested in ubuntu 10.04
No comments:
Post a Comment