分类: LINUX
2009-07-26 15:49:37
Server Side
1. Install the vsftpd with the package manager.
apt-get install vsftpd
2. Configure the conf file.
Open /etc/vsftpd.conf. And add the following lines,
###Enable anonymous read
anonymous_enable=YES
anon_root=/
anon_world_readable_only=YES
#anon_mkdir_write_enable=YES
#anon_upload_enable=YES
###Enable local user read and write
local_enable=YES
write_enable=YES
3. Restart the server.
/etc/init.d/vsftpd restart
Client Side
ftp localhost
user: ftp
password:
ftp localhost
user:robert
password: robet's password