docs: suggest --ssl-reqd instead of --ftp-ssl

Reported-by: SuperStormer on github
Fixes #15658
Closes #15660
This commit is contained in:
Daniel Stenberg 2024-11-28 21:24:11 +07:00
parent f54966b167
commit fa1a8e0215
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View File

@ -999,7 +999,7 @@ FAQ
the control connection and will therefore immediately connect and try to
speak SSL. FTPS:// connections default to port 990.
To use explicit FTPS, you use an FTP:// URL and the --ftp-ssl option (or one
To use explicit FTPS, you use an FTP:// URL and the --ssl-reqd option (or one
of its related flavors). This is the most common method, and the one
mandated by RFC 4217. This kind of connection will then of course use the
standard FTP port 21 by default.

View File

@ -42,7 +42,7 @@ Get a file off an FTPS server:
or use the more appropriate FTPS way to get the same file:
curl --ftp-ssl ftp://files.are.example.com/secrets.txt
curl --ssl-reqd ftp://files.are.example.com/secrets.txt
Get a file from an SSH server using SFTP: