1.setup like what this site do:
http://jingyan.baidu.com/article/7908e85c988b23af481ad2ae.html
2.add a file named "chroot.chroot_list";
gedit chroot.chroot_list
3.chmod 777 chroot.chroot_list
4.add 4 rows in etc/vsftpd.conf:
allow_writeable_chroot=YES
local_root=/home/myd/workspace/myFtp(this is your roow path)
chroot_local_user=YES
anon_root=/var/www/html/
http://jingyan.baidu.com/article/7908e85c988b23af481ad2ae.html
2.add a file named "chroot.chroot_list";
gedit chroot.chroot_list
3.chmod 777 chroot.chroot_list
4.add 4 rows in etc/vsftpd.conf:
allow_writeable_chroot=YES
local_root=/home/myd/workspace/myFtp(this is your roow path)
chroot_local_user=YES
anon_root=/var/www/html/