download text with curl to file code example
Example 1: how to download a file with curl
//this downloads the file specified
curl "http://standards-oui.ieee.org/oui/oui.txt" --output macvendors.txt
Example 2: curl download file without output
curl -O https://www.cyberciti.biz/files/sticker/sticker_book.pdf