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

Dropped --ftp-ssl #13006

Closed
jordanbrown0 opened this issue Feb 27, 2024 · 2 comments
Closed

Dropped --ftp-ssl #13006

jordanbrown0 opened this issue Feb 27, 2024 · 2 comments

Comments

@jordanbrown0
Copy link

I did this

# curl --ftp-ssl
curl: option --ftp-ssl: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

I expected the following

$ curl --ftp-ssl
Warning: --ssl is an insecure option, consider --ssl-reqd instead
curl: (2) no URL specified
curl: try 'curl --help' or 'curl --manual' for more information

curl/libcurl version

curl -V

curl 8.6.0 (x86_64-pc-solaris2.11) libcurl/8.6.0 OpenSSL/3.0.12 zlib/1.2.13 zstd/1.5.5 libidn2/2.3.0 libssh2/1.11.0 nghttp2/1.57.0 OpenLDAP/2.6.7
Release-Date: 2024-01-31
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

operating system

Solaris 11.4 (development build)

@jordanbrown0
Copy link
Author

Commit 9e4e527 included C_FTP_SSL on the parse side, but did not include it in the switch. (Perhaps because it appears to be an alias for --ssl; they were both coded as $a before the change.)

@bagder
Copy link
Member

bagder commented Feb 28, 2024

Confirmed. Fix coming. (--ssl has been the documented replacement option since 7.20.0.)

bagder added a commit that referenced this issue Feb 28, 2024
Follow-up to 9e4e527 which accidentally broke it

Reported-by: Jordan Brown
Fixes #13006
@bagder bagder closed this as completed in 6540545 Feb 28, 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