Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for FTPS sync targets #361

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

hype09
Copy link
Contributor

@hype09 hype09 commented Jan 18, 2024

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.

Added new property `\phpbu\App\Backup\Sync\Ftp::$secure`
to support FTPS sync targets.
@hype09
Copy link
Contributor Author

hype09 commented Jan 18, 2024

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

@hype09
Copy link
Contributor Author

hype09 commented Jan 18, 2024

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

Copy link
Owner

@sebastianfeldmann sebastianfeldmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, for the addition :)

@sebastianfeldmann sebastianfeldmann merged commit 1646f41 into sebastianfeldmann:main Jan 18, 2024
0 of 4 checks passed
@sebastianfeldmann sebastianfeldmann self-assigned this Jan 18, 2024
@sebastianfeldmann
Copy link
Owner

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

@hype09 hype09 deleted the paik/ftps-config branch January 18, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants