ftp 报错 550 Failed to open file

解决方式:

1. setsebool -P ftpd_disable_trans 1

2. service vsftpd restart

FTP连接时出现“227 Entering Passive Mode”

解决方法如下:

ftp> passive

Passive mode off.

ftp> passive (再次运行命令可打开)

Passive mode on.