200 PORT command successful. Consider using PASV. 553 Could not create file.

编程知识 更新时间:2023-05-02 05:22:34

centos端搭建好了FTP
windows匿名登录也成功

C:\Users\666>ftp -A 162.14.20.16
连接到 162.14.20.16。
220 (vsFTPd 3.0.2)
200 Always in UTF8 mode.
331 Please specify the password.
230 Login successful.
对 666@DES 匿名登录成功
ftp> CD FTP
250 Directory successfully changed.
ftp> LCD K:\FTP
目前的本地目录 K:\FTP。

可是用命令上传时报错

200 PORT command successful. Consider using PASV.
553 Could not create file.

在网上找553 Could not create file的解决办法一个都不行(好多都说是是配置文件里的write_enable=YES有问题啊,可是我的没问题.
后来试了下这个方法79884875
1.考虑是不是selinux的原因 把selinux禁用试试
2.说不定ftp的文件夹确实没有写权限,确认一下该目录权限
3.配置文件里有write_enable=YES吗

改权限就可以了

[root@centos pub]# chmod 777 -R FTP/
[root@centos pub]# chmod o+w FTP/
[root@centos pub]# systemctl restart vsftpd

当然也有可能是其他原因

更多推荐

200 PORT command successful. Consider using PASV. 553 Could not create file.

本文发布于:2023-04-26 05:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/fc08dfbc3b03148541e79b5cc3ef2f9b.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:command   successful   PORT   create   file

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 104331文章数
  • 26211阅读数
  • 0评论数