On Thu, 11 Aug 2022, Timothe Litt via curl-library wrote:
Or (more generally useful) extend the curl config file syntax to have
per-host options, e.g. perhaps
[altport.example.net]
default-port 65534
I completely agree that this would be a generally much more sensible approach
for (lib)curl, but it would probably fail the original idea of "magically" use
the same port number for the 'sftp' tool as with curl with a single config
file...
I once proposed a config enhancement idea like this for curl, but it didn't
seem to make much excitement at the time so it never went anywhere.
--
/ daniel.haxx.se
| Commercial curl support up to 24x7 is available!
| Private help, bug fixes, support, ports, new features
| https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html