sebastianfeldmann / phpbu

PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
https://phpbu.de
Other
1.29k stars 110 forks source link

Add support for FTPS sync targets #361

Closed hype09 closed 7 months ago

hype09 commented 7 months ago

One of our FTP hosters has recently moved to FTP via explicit SSL only, so I needed to add FTPS support to phpBU.

Thankfully, your FTP wrapper already supports this functionality (since v0.9.2, hence the updates to composer.json), so I just added another optional boolean FTP config flag, similar to the passive flag.

This should be fully backwards-compatible, as the FTP-lib already defaulted to $secure = false.

hype09 commented 7 months ago

The failing PHPStan checks seem unrelated to the changes in this MR.. 🤔

hype09 commented 7 months ago

Seems like OpenStack removed the class in the minor update from 3.5 to 3.6 yesterday 😀

sebastianfeldmann commented 7 months ago

They fixed the BC in 3.6.1 thanks for the feedback towards opencloud