curl print file code example Example: how to download using curl curl http://some.url --output some.file