]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: suggest --ssl-reqd instead of --ftp-ssl
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Nov 2024 14:24:11 +0000 (21:24 +0700)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Dec 2024 08:07:50 +0000 (09:07 +0100)
Reported-by: SuperStormer on github
Fixes #15658
Closes #15660

docs/FAQ
docs/MANUAL.md

index 943a741995b3c8ae36a30e2d2c0e30ea305cd49f..9fae793e018279e91f9a861d7dfa06daec85f7bf 100644 (file)
--- a/docs/FAQ
+++ b/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.
index 35a944849a8bbe90637a202e874f2fa60b7b0742..68c4d5ffdc6280376b3e48aa8e65217b2d0e6dc7 100644 (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: