- 论坛徽章:
- 0
|
这是ftp登陆方式:
[root@localhost~]#ftp localhost
connected to localhost.localdomain
220 (vsftp 2.0.5)
530 please login with user and pass
530 please login with user and pass
Name(localhost:root):ftp
331 please specify the password
password:
230 login successful.
remote system type is UNIX.
Using binary mode to transfer files
ftp>dir
227 Entering passive mode(127.0.0.1,128.133)
150 Here comes the directory listing.
drwxrwxrwx 3 0 50 4096 AUG 29 08:05 pub
226 Directory send ok.
ftp>
/var/vsftpd.conf配置文件
anonymous_enable=YES
local_enable=YES
write_enable=YES //允许上传
download_enable=YES //允许下载
anon_upload_enable=YES //允许匿名用户上传
anon_mkdir_write_enable=YES //允许匿名用户创建目录和上传
anon_other_write_enable=NO
在win7下上传一个文件上传不了。
|
|