primarily designed to test package production on FreeBSD. However, most people will find it useful to bulk build ports for FreeBSD.
The proxy stringcan be specified withaprotocol:// prefix to specify alternative proxy protocols. Use socks4://, socks4a://, socks5:// or socks5h:// to request the specific SOCKS version to be used. No protocol specified, http:// and all others will be treated as HTTP proxies. (The protocol support was added in curl 7.21.7)
Ifthe port number isnotspecified inthe proxy string,it isassumed tobe1080.
Thisoption overrides existing environment variables that set the proxy touse.Ifthere'san environment variable settingaproxy,you can set proxy to""tooverride it.
All operations that are performed over an HTTP proxy will transparently be converted toHTTP.It means that certain protocol specific operations might notbe available.Thisisnotthe caseifyou can tunnel through the proxy,asone with the-p,--proxytunnel option.
User andpassword that might be provided inthe proxy stringare URL decoded by curl.Thisallows you topass inspecial characters such as@by using%40orpass inacolon with%3a.
The proxy host can be specified the exact same way asthe proxy environment variables,including the protocol prefix(http://) and the embedded user + password.
Ifthisoption isused several times,the last one will be used.
Write output toalocal file named like the remote file we get.(Only the file part of the remote file isused,the path iscut off.)
The remote file name touseforsaving isextracted from the given URL,nothing else.
Consequentially,the file will be saved inthe current working directory.Ifyou want the file saved inadifferent directory,make sure you change current working directory before you invoke curl with the-O,--remote-name flag!
There isno URL decoding done on the file name.Ifit has%20orother URL encoded parts of the name,they will endup as-isasfile name.
You may usethisoption asmany times asthe number of URLs you have.