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
So, is there any official fix planned?
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!
@saranshwpm I tried on a completly fresh setup on a test machine and I have the same problem here. Passive mode is always on