ftp_nb_fput(): Can't build data connection
-
I am running into an issue where I can see in the logs that the login is successful, but get this error
ftp_nb_fput(): Can't build data connection: Connection timed out.
I read through some PHP forums that Port 20 is requested sometimes, and I am only opening up 21 and 22.
You can also see that it attempted to access through passive mode but still failed.
1. Try to send backup file to an FTP server … [26-Mar-2015 15:49:25] Connected via explicit SSL-FTP to server: XX.XXX.XXX.XX:21 [26-Mar-2015 15:49:25] FTP client command: USER wordpress [26-Mar-2015 15:49:26] FTP server response: User wordpress logged in. [26-Mar-2015 15:49:26] FTP client command: SYST [26-Mar-2015 15:49:26] FTP server reply: UNIX [26-Mar-2015 15:49:27] FTP Folder "theriver" created! [26-Mar-2015 15:49:27] FTP current folder is: /theriver/ [26-Mar-2015 15:49:27] FTP client command: PASV [26-Mar-2015 15:49:27] FTP server reply: Entering passive mode [26-Mar-2015 15:49:27] Starting upload to FTP … [26-Mar-2015 15:50:57] WARNING: ftp_nb_fput(): php_connect_nonb() failed: Operation now in progress (115) [26-Mar-2015 15:50:57] WARNING: ftp_nb_fput(): Entering Passive Mode (10,0,1,199,217,6) [26-Mar-2015 15:50:57] ERROR: Cannot transfer backup to FTP server!
Any thoughts?
- The topic ‘ftp_nb_fput(): Can't build data connection’ is closed to new replies.