Replies: 0
Hi,
I have been using FTP backups, but starting last November they stopped working. I am able to use my phone and access my FTP server and read/write files. From my laptop browser I’m able to access my FTP server and read files no problem. However, Updraft is no longer able to write backup files into my FTP server. I have historically used passive mode. When I run a test in passive mode this is the error I get:
FTP settings test result: Failure: we successfully logged in, but were not able to create a file in the given directory.
Messages:
* PHP event: code E_WARNING: ftp_nb_fput(): php_connect_nonb() failed: Operation now in progress (115) (line 93, wp-content/plugins/updraftplus/includes/ftp.class.php)
* PHP event: code E_WARNING: ftp_nb_fput(): Type set to I (line 93, wp-content/plugins/updraftplus/includes/ftp.class.php)
The error message looks likes a generic firewall issue however I’m able to access the same server using different FTP software (a FTP app on my phone on external connection). Only when I try to FTP using Updraft am I having an issue. My FTP server is a personal computer I have at home. I have checked the firewalls and router port forwarding.
When I run a test in passive mode, I can see this on the FTP server logs (Filezilla):
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> Connected on port 21, sending welcome message…
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> 220-You are now connected to Jun’s server.
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> 220 Feel free to drop files for Jun.
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> USER xxxxxx
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> 331 Password required for xxxxxx
(000005)4/12/2020 20:33:34 PM – (not logged in) (68.65.122.155)> PASS **********
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> 230 Logged on
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> PASV
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> 227 Entering Passive Mode (73,32,240,121,55,67)
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> SYST
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> 215 UNIX emulated by FileZilla
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> TYPE I
(000005)4/12/2020 20:33:34 PM – xxxxxx (68.65.122.155)> 200 Type set to I
(000005)4/12/2020 20:33:35 PM – xxxxxx (68.65.122.155)> QUIT
(000005)4/12/2020 20:33:35 PM – xxxxxx (68.65.122.155)> 221 Goodbye
(000005)4/12/2020 20:33:35 PM – xxxxxx (68.65.122.155)> disconnected.
When I try to use active mode I get this error message from Updraft:
FTP settings test result: Failure: we successfully logged in, but were not able to create a file in the given directory.
Messages:
* PHP event: code E_WARNING: ftp_nb_fput(): Opening data channel for file upload to server of "/3ce19c07c033f2f8b944da949f3ef2af.tmp" (line 93, wp-content/plugins/updraftplus/includes/ftp.class.php)
When I try to use active mode I see the following log on my FTP server:
(000006)4/12/2020 20:40:28 PM – (not logged in) (68.65.122.155)> Connected on port 21, sending welcome message…
(000006)4/12/2020 20:40:28 PM – (not logged in) (68.65.122.155)> 220-You are now connected to Jun’s server.
(000006)4/12/2020 20:40:28 PM – (not logged in) (68.65.122.155)> 220 Feel free to drop files for Jun.
(000006)4/12/2020 20:40:28 PM – (not logged in) (68.65.122.155)> USER xxxxxx
(000006)4/12/2020 20:40:28 PM – (not logged in) (68.65.122.155)> 331 Password required for xxxxxx
(000006)4/12/2020 20:40:29 PM – (not logged in) (68.65.122.155)> PASS **********
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> 230 Logged on
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> SYST
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> 215 UNIX emulated by FileZilla
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> TYPE I
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> 200 Type set to I
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> PORT 68,65,122,155,137,171
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> 200 Port command successful
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> STOR /3ce19c07c033f2f8b944da949f3ef2af.tmp
(000006)4/12/2020 20:40:29 PM – xxxxxx (68.65.122.155)> 150 Opening data channel for file upload to server of “/3ce19c07c033f2f8b944da949f3ef2af.tmp”
(000006)4/12/2020 20:40:39 PM – xxxxxx (68.65.122.155)> 425 Can’t open data connection for transfer of “/3ce19c07c033f2f8b944da949f3ef2af.tmp”
Below is a “good” log. I’m able to authenticate using an FTP app on my phone without a problem. Below is the FTP server log:
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> Connected on port 21, sending welcome message…
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> 220-You are now connected to Jun’s server.
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> 220 Feel free to drop files for Jun.
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> USER xxxxxx
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> 331 Password required for xxxxxx
(000009)4/12/2020 20:45:37 PM – (not logged in) (166.172.122.34)> PASS **********
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 230 Logged on
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> PWD
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 257 “/” is current directory.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> OPTS UTF8 ON
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 202 UTF8 mode is always enabled. No need to send this command.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> OPTS UTF8 ON
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 202 UTF8 mode is always enabled. No need to send this command.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> OPTS UTF8 ON
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 202 UTF8 mode is always enabled. No need to send this command.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> OPTS UTF8 ON
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 202 UTF8 mode is always enabled. No need to send this command.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> CWD /
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 250 CWD successful. “/” is current directory.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> CWD /
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 250 CWD successful. “/” is current directory.
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> PASV
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 227 Entering Passive Mode (73,32,240,121,55,67)
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> TYPE A
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 200 Type set to A
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> MLSD
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 150 Opening data channel for directory listing of “/”
(000009)4/12/2020 20:45:37 PM – xxxxxx (166.172.122.34)> 226 Successfully transferred “/”
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> OPTS UTF8 ON
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> 202 UTF8 mode is always enabled. No need to send this command.
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> PASV
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> 227 Entering Passive Mode (73,32,240,121,55,67)
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> MLSD
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> 150 Opening data channel for directory listing of “/”
(000009)4/12/2020 20:45:46 PM – xxxxxx (166.172.122.34)> 226 Successfully transferred “/”
Anyone know what I can do? Is there an issue possibly with my webhost PHP? I notice the “good” connection uses “Type A” while the failed connections use “Type I.” Not sure if that helps.
-
This topic was modified 5 hours, 46 minutes ago by joondez.