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