Re: Well, you shouldn't really be using this tool
> a perverted form of FTP
Well, yes, it does do TFTP as well:
From cURL man page
curl is a tool for transferring data from or to a server using URLs. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.
Sorry, what was your point supposed to be about why we shouldn't be using cURL?
If you do happen to have a better protocol up your sleeve, please share it with us - as soon as it proves its worth enough to get a URL prefix, guess which tool will allow us mere mortals to make easy use of it...
> any replacement mechanism should conform to the existing API regardless of what's going on underneath
Yup, as you say, the same API (cURL and/or libcurl) will play the role.