download file ubuntu curl code example
Example 1: curl download file without output
curl -O https://www.cyberciti.biz/files/sticker/sticker_book.pdf
Example 2: guzzle download file
$client->request('GET', '/stream/20', ['sink' => '/path/to/file']);