开发者

Any way to find why PHP ftp_get fail?

开发者 https://www.devze.com 2023-02-24 16:49 出处:网络
Is there anyway to find why ftp_get fail , if connectio开发者_如何学编程n was susccesfull? Will error reporting or display error work for this.

Is there anyway to find why ftp_get fail , if connectio开发者_如何学编程n was susccesfull?

Will error reporting or display error work for this.

Can anyone give a few general reasons why this function fail?

What will happen if the file is empty?


One of the reasons is that you have not set the connection type: active or passive. Call ftp_pasv before executing any file transfer.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号