curl return file code example
Example 1: curl html file
curl -o thatpage.html http://www.example.com/
Example 2: how to download using curl
curl http://some.url --output some.file
curl -o thatpage.html http://www.example.com/
curl http://some.url --output some.file