summaryrefslogtreecommitdiff
path: root/docs/examples/url2file.c
Commit message (Collapse)AuthorAgeFilesLines
* examples/url2file.c: add missing curl_global_cleanup() callDaniel Stenberg2018-01-181-1/+3
| | | | | Reported-by: XhstormR on github Fixes #2245
* docs/examples: remove spurious white spaces all overDaniel Stenberg2016-04-031-1/+1
| | | | ... to please the new, slightly picker, checksrc.pl
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-1/+1
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: added descriptionsDaniel Stenberg2016-01-041-1/+5
|
* Update instances of some obsolete CURLOPTs to their new namesDan Fandrich2014-07-051-3/+2
|
* url2file: new simple exampleDaniel Stenberg2012-01-161-0/+81
Just showing how to download the contents of a given URL into a local file. Based on a suggestion and example code by Georg Potthast