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

FAQ and tutorial recommends insecure --ftp-ssl over --ssl-reqd #15658

Closed
SuperStormer opened this issue Nov 28, 2024 · 0 comments
Closed

FAQ and tutorial recommends insecure --ftp-ssl over --ssl-reqd #15658

SuperStormer opened this issue Nov 28, 2024 · 0 comments
Assignees

Comments

@SuperStormer
Copy link

Specify which documentation you found a problem with

https://curl.se/docs/tutorial.html
https://curl.se/docs/faq.html#FTPS_does_not_work

The problem

https://curl.se/docs/tutorial.html suggests:

curl --ftp-ssl ftp://files.are.example.com/secrets.txt

https://curl.se/docs/faq.html#FTPS_does_not_work suggests:

To use explicit FTPS, you use an FTP:// URL and the --ftp-ssl option (or one of its related flavors).

However, the documentation for --ftp-ssl states that it is insecure and --ssl-reqd should be used instead as it won't revert to an insecure connection if the server doesn't support TLS. I suggest that the aforementioned docs be updated to recommend --ssl-reqd as well.

@SuperStormer SuperStormer changed the title FAQ and tutorial recommends --ftp-ssl over --ssl-reqd FAQ and tutorial recommends insecure --ftp-ssl over --ssl-reqd Nov 28, 2024
bagder added a commit that referenced this issue Nov 28, 2024
Reported-by: SuperStormer on github
Fixes #15658
@bagder bagder self-assigned this Nov 28, 2024
@curl curl deleted a comment from Braga9823 Dec 1, 2024
@bagder bagder closed this as completed in fa1a8e0 Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants