4

我在使用ftp_put. 我尝试过同时使用被动和主动模式。

Active返回此错误(使用 this 设置ftp_pasv($connection, false)):

ftp_put(): Illegal PORT command.

被动模式只是挂起:

ftp_pasv($connection, true)

我可以使用 Filezilla 中的活动模式很好地连接到服务器。

4

0 回答 0