请谨记,你的每一步操作都有可能导致系统的文件串改。。
1、能登录不能上传文件
C:\Users\Administrator.WIN-20121228FDJ>ftp 192.168.1.100
Connected to 192.168.1.100.
220 Welcome to blah FTP service @ forilen .
User (192.168.1.100:(none)): anonymous
331 Please specify the password.
Password:
230 Login successful.
ftp> cd pub
250 Directory successfully changed.
ftp> put C:\Users\Administrator.WIN-20121228FDJ\Desktop\config.ini
200 PORT command successful. Consider using PASV.
553 Could not create file.
ftp>解决办法:(1)关闭selinux
[root@localhost ftpuser]# setenforce 0
[root@localhost ftpuser]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ](1)关闭linux同时关闭启动selinux
vi /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can
Redhat 5.4 FTP服务器搭建问题解析与解决

本文介绍了在Redhat 5.4系统中搭建FTP服务器遇到的登录后无法上传文件的问题。根据Linux用户权限原则,重点讨论了如何通过编辑vsftpd配置文件来指定本地用户的家目录。
最低0.47元/天 解锁文章
3841

被折叠的 条评论
为什么被折叠?



