Curl

Curl

Pretty lightweight tool to quickly get network requests and responses from the server.

command builder

curl CLI request builder

Download file FTP

curl -L -R -O ftp_full_server_file_address

You can open ftp://ftp.gnu.org/ in Firefox and Chrome without going to the Finder, which is what Safari does.

If you have a complete URL to download, use curl, as in

curl -L -R -O ftp://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz

Do man curl or curl --help for more information.
SO

GET

curl https://www.example.com/

Another example

curl -s "http://url.something.com/filepath/filename-.m3u8?sz=asfa"

Source

man help - curl
Manual

Error

SSL error

SO | curl-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate