• Hi,

    I’m trying to store my backups via FTP. Unfortunately the passive mode is not working here, but disabling it, doesn’t work either. The setting gets restored to passive again.

    Edit: Even creating a new FTP connection always actives the passive mode

    • This topic was modified 2 months, 2 weeks ago by Felix G..
Viewing 4 replies - 1 through 4 (of 4 total)
  • That is caused by line 198 in class-destination-ftp.php

    BackWPup_Option::update( $id, 'ftppasv', ! empty( $_POST['ftppasv'] ) );

    where $_POST['ftppasv'] via backwpup-admin.js is set to $("#ftppasv").prop("checked") and arrives in PHP on server as a string which contains the text “true” or “false” which will of course always be a ! empty( ) string and by this causes the FTP passive mode option always to be saved as true.

    Even the most simple things as saving settings are obviously untested in version 5.x of the plugin.

    BackWPup 5.0.4

    Thread Starter Felix G.

    (@tiiunder)

    So, is there any official fix planned?

    Plugin Support BackWPUp Support

    (@saranshwpm)

    Hi,

    That shouldn’t be happening. The FTP setting should retain your selection. Can you try saving the settings, refreshing the page, and checking if it still resets? If the issue persists, please try reinstalling the plugin and setting up the FTP connection again.

    If the problem continues, feel free to reach out directly so we can investigate further.

    Thanks!

    Thread Starter Felix G.

    (@tiiunder)

    @saranshwpm I tried on a completly fresh setup on a test machine and I have the same problem here. Passive mode is always on

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.