tool: warn when --ssl and --ftp-ssl-control override each other

and mention this properly in the docs.

Closes #21887
This commit is contained in:
Daniel Stenberg 2026-06-07 00:22:53 +02:00
parent c4c12843df
commit 7bb7b2c2a4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 12 additions and 0 deletions

View file

@ -18,3 +18,5 @@ Example:
Require SSL/TLS for the FTP login, clear for transfer. Allows secure
authentication, but non-encrypted data transfers for efficiency. Fails the
transfer if the server does not support SSL/TLS.
If set, this option overrides --ssl.

View file

@ -30,5 +30,7 @@ OpenLDAP backend and ignored by the generic ldap backend.
Please note that a server may close the connection if the negotiation fails.
If set, this option overrides --ftp-ssl-control.
This option was formerly known as --ftp-ssl (added in 7.11.0). That option
name can still be used but might be removed in a future version.