1)修改配置文件:/etc/vsftpd.conf
# Uncomment this to allow local users to log in.
#local_enable=YES
# Uncomment this to enable any form of FTP write command.
#
write_enable=YES
2)修改ftp上传目录权限
3)ftp命令
put local-file[remote-file] :将本地文件 local-file 传送至远程主机。
delete remote-file :删除远程主机文件
get remote-file[local-file] : 将远程主机的文件 remote-file 传至本地硬盘的 local-file 。