• Resolved terry789

    (@terry789)


    Hello,

    anyone have an idea for this message?

    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(): Can't build data connection: Connection timed out. (line 93, wp-content/plugins/updraftplus/includes/ftp.class.php)

    Thanks

    • This topic was modified 1 year ago by terry789.
    • This topic was modified 1 year ago by terry789.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    It looks like something is blocking your connection, can you check with your hosts if there are any firewall, security modules or anything else that could be blocking the connection?

    Thread Starter terry789

    (@terry789)

    Hello @vupdraft,

    Before I had another modem it worked by default.

    Nothing has changed on the (backup) server (NAS) side.

    The new modem settings I don’t fully understand.

    This is the modem: ZTE Modem, Device type: H369A Software Version V1.0.2_TL1T9 – settings here are:

    Port Forwarding – protocol choice: TCP – UDP – or TCP & UDP (I have tried everything individually)

    LAN Host: IP from backup server (Synology NAS)
    WAN Port: Port number 21
    LAN Host Port also 21

    Possibility for DMZ settings: On or Off – Lan Host – IP Address – not clear, my NAS or my PC (Tried both, On or Off)

    Also option DHCP Binding – Assign Public IP – ON or Off – Device MAC Address (from my NAS)

    On wordpress site Passive mode: tried on and off

    Need more data? Let me know

    Thanks

    Thread Starter terry789

    (@terry789)

    Passive mode unchecked:

    Messages:

    • PHP event: code E_WARNING: ftp_nb_fput(): Can’t build data connection: Connection timed out. (line 93, wp-content/plugins/updraftplus/includes/ftp.class.php)

    Passive mode checked:

    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)
    • This reply was modified 1 year ago by terry789.
    Plugin Support vupdraft

    (@vupdraft)

    Try using the option in the ‘expert’ section on the UD settings page to disable SSL, then save changes, then try again.

    Please keep “Passive” checked

    • This reply was modified 1 year ago by vupdraft.
    Thread Starter terry789

    (@terry789)

    Unfortunately, that makes no difference. The error code remain the same

    Thread Starter terry789

    (@terry789)

    I found the solution for the errors!

    Passive FTP was necessary but port of Passive FTP, different néxt to port 21, was not set correctly.

    In any case, thanks for your thoughts @vupdraft.

    mauwiks

    (@its7376)

    Hey man @terry789, where did you find the port to be set on updraft? Thanks

    mauwiks

    (@its7376)

    I’m encountering the same problem. Please help @vupdraft

    Thread Starter terry789

    (@terry789)

    Hello @its7376

    what kind of device do you use as a backup server?

    mauwiks

    (@its7376)

    My remote web server via cPanel FTP

    mauwiks

    (@its7376)

    I was able to identify the issue. In the Directory path, I was using the path given by my cPanel ftp path, instead we need to use a subdirectory. Updraft needs to change that label so the users will not get confused. For example: I used /home/user/backup instead of just /backup

    Thread Starter terry789

    (@terry789)

    You don’t have to set anything extra in Updraft’s settings.
    Default settings are ok. Well, Passive checked.

    Please look here if this helps;
    https://docs.cpanel.net/knowledge-base/ftp/how-to-enable-ftp-passive-mode/

    In your modem/router also port forwarding for the specific ports (in the example e.g. 49152 through 65534)

    Success

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Failure: we successfully logged in, but…’ is closed to new replies.