mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
docs: suggest --ssl-reqd instead of --ftp-ssl
Reported-by: SuperStormer on github Fixes #15658 Closes #15660
This commit is contained in:
parent
f54966b167
commit
fa1a8e0215
2
docs/FAQ
2
docs/FAQ
@ -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.
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user