Any way to find why PHP ftp_get fail?
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.
精彩评论