摘要: 一:ftp命令上传报错,很明显是无法创建文件 ftp> put tomcat.gif 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp的文件夹确实没有写权限,授权 [root@localh 阅读全文
posted @ 2022-11-21 23:21 猪脚踏浪 阅读(1946) 评论(0) 推荐(0) 编辑
摘要: ftpClient.changeWorkingDirectory(path) 切换带/的路径一直返回false 由于使用的是普通账号登录,将用户禁锢在了宿主目录。 解决方法: 将vsftpd.conf文件中的打开chroot_local_user=YES,重启vsftpd即可。 阅读全文
posted @ 2022-11-21 17:15 猪脚踏浪 阅读(1300) 评论(0) 推荐(0) 编辑
摘要: 错误提示: connect failed: Connection timed out. 注意开放允许客户端链接的端口,比如30001-30500.不然总是会提示超时。 /sbin/iptables -I INPUT -p tcp --dport 30001:30500 -j ACCEPT 阅读全文
posted @ 2022-11-21 17:13 猪脚踏浪 阅读(1254) 评论(0) 推荐(0) 编辑