php-ftp-client icon indicating copy to clipboard operation
php-ftp-client copied to clipboard

ftp_nlist(): php_connect_nonb() failed

Open AkramiPro opened this issue 2 years ago • 1 comments

[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

AkramiPro avatar Apr 02 '22 12:04 AkramiPro

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).

AmraniCh avatar Apr 10 '22 22:04 AmraniCh

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 avatar Dec 27 '22 04:12 tuyenlaptrinh

@tuyenlaptrinh have you used the logger ? can you paste the logs here please ?

AmraniCh avatar Dec 27 '22 08:12 AmraniCh

Hi @AmraniCh I used "Usage Example" in your github repository FTPBridge and I only got that error with no log

tuyenlaptrinh avatar Dec 27 '22 08:12 tuyenlaptrinh

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!

AmraniCh avatar May 07 '23 10:05 AmraniCh