600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > ftp 使用get命令下出现550 Failed to open file 但是使用put命令没问题的解决方法

ftp 使用get命令下出现550 Failed to open file 但是使用put命令没问题的解决方法

时间:2021-06-03 19:30:37

相关推荐

ftp 使用get命令下出现550 Failed to open file 但是使用put命令没问题的解决方法

在使用FTP匿名服务时,使用PUT命令上传文件没问题,但是使用get命令出现 550 Failed to open file,原因是,下载的文件没有权限

问题:

ftp> get 2.txt

local: 2.txt remote: 2.txt

227 Entering Passive Mode (192,168,8,35,231,233).

550 Failed to open file.

解决方法:

cd /var/ftp/pub

chmod 777 2.txt

结果:

ftp> get 2.txt

local: 2.txt remote: 2.txt

227 Entering Passive Mode (192,168,8,35,135,27).

150 Opening BINARY mode data connection for 2.txt (0 bytes).

226 Transfer complete.

问题解决

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。