php-ftp-client
php-ftp-client copied to clipboard
ftp_nlist(): php_connect_nonb() failed
[FtpClientException] - ftp_nlist(): php_connect_nonb() failed: Operation now in progress (115)
i try passive mode on/off & SSL off/on but did not work
Hey @akramiPro, thanks for opening this issue.
Are you sure you've enabled the passive mode ?
If you enabled the passive mode and the error still exist, I suggest using this tool Lazzard\Ftpbridge to know what the exact error message sent from the server, just use the example usage, and share the logs here (do not forget to hide the username and the password in the generated logs).
Same error and this is error when use FTPBridge
Failed to establish a successful passive data connection to the (xx.xx.xx.xx) : stream_socket_client(): unable to connect to tcp://xx.xx.xx.xx:35892
@tuyenlaptrinh have you used the logger ? can you paste the logs here please ?
Hi @AmraniCh I used "Usage Example" in your github repository FTPBridge and I only got that error with no log
I will close this issue as long as the error is not caused by the library implementation, some FTP servers may have an incorrect configuration of file transfer operations (active/passive transfers), so I suggest having contact with your server administrator, thanks!