标签:
(一)vsftpd
安装
设置
用户设置
启动服务
(二)ProFTPD
下载安装
创建用户
做成私有密码文件
设置
启动脚本
启动服务
FTP确认测试
C:\Documents and Settings\RenSanNing>ftp
连接
ftp> op
To 192.168.21.xxx
Connected to 192.168.21.xxx.
220 Welcome to MyProFTPD FTP service.
User (192.168.21.xxx:(none)): ftpuser1
331 Please specify the password.
Password:
230 Login successful.
变更文件夹
ftp> pwd
257 "/"
ftp> cd /root/
550 Failed to change directory.
ftp> cd /etc/
550 Failed to change directory.
上传文件
ftp> put c:\test.txt
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 Transfer complete.
ftp: 7 bytes sent in 0.00Seconds 7000.00Kbytes/sec.
确认文件
ftp> ls -l
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 503 503 7 Aug 20 11:51 test.txt
226 Directory send OK.
ftp: 66 bytes received in 0.00Seconds 66000.00Kbytes/sec.
下载文件
ftp> get test.txt
200 PORT command successful. Consider using PASV.
150 Opening ASCII mode data connection for test.txt (7 bytes).
226 Transfer complete.
ftp: 7 bytes received in 0.00Seconds 7000.00Kbytes/sec.
ftp> bye
221 Goodbye.
客户端工具:
FFFTP:http://sourceforge.jp/projects/ffftp/
FileZilla:https://filezilla-project.org/
搭建 CentOS 6 服务器(11) - vsftpd、ProFTPD
标签:
原文地址:http://www.cnblogs.com/kyli816/p/4627137.html