建立ftp服务器

$ sudo apt-get install usftpd xinetd

$ sudo /etc/vsftpd.conf

添加:

    anonymous_enable=YES

    anno_root=/home/共享目录名

$ sudo /etc/init.d/vsftpd restart

-----------------------

测试 :

ftp 127.0.0.1

anonymous

<enter>

get file.txt

原文地址:https://www.cnblogs.com/mathzzz/p/2612838.html