aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/httpput.c
AgeCommit message (Collapse)Author
2017-09-11code style: use spaces around equals signsDaniel Stenberg
2016-02-11examples: adhere to curl code styleDaniel Stenberg
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.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-07-01examples: provide <DESC> sectionsDaniel Stenberg
2013-10-27docs/examples/httpput.c: fix build for MSVCGisle Vanem
"Dan Fandrich" <dan@coneharvesters.com> wrote: >> But I'm not sure <unistd.h> is needed at all. > > It's needed for close(2). But the only reason that's needed is because fstat > is used instead of stat(2); if you fix that, then you could remove that > include altogether. Okay. I've tested the following with MSVC and MingW. htttput.c now simply uses stat():
2012-07-04Added error checking for samples.Guenter Knauf
2012-04-13examples: fix compiler warningsYang Tse
2011-09-23Added a workaround for printing size_t.Guenter Knauf
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-05-22Fixed a surprising number of example programs that were passing int argumentsDan Fandrich
to curl_easy_setopt instead of long.
2007-07-16Fixed some more simple compile warnings in the examples.Dan Fandrich
2007-07-12Fixed some compile warnings and errors and improved portability in theDan Fandrich
examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
2006-06-30typecast the number passed to CURLOPT_INFILESIZE_LARGE as a curl_off_tDaniel Stenberg
2005-01-19add a URL to an article about making Apache support PUTDaniel Stenberg
2004-11-22removed unused variable and trailing whitespaceDaniel Stenberg
2004-01-05David J Meyer's large file support.Daniel Stenberg
2003-12-18typecast the size to long for platforms where st_size is off_tDaniel Stenberg
2003-12-18clarified the URL part based on the problems Martin Hilpert hadDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2001-09-25Added httpput.cDaniel Stenberg