summaryrefslogtreecommitdiff
path: root/docs/examples/httpput.c
Commit message (Collapse)AuthorAgeFilesLines
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-2/+2
|
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-2/+2
| | | | | | | | | | 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: provide <DESC> sectionsDaniel Stenberg2015-07-011-1/+5
|
* docs/examples/httpput.c: fix build for MSVCGisle Vanem2013-10-271-6/+1
| | | | | | | | | | | | | "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():
* Added error checking for samples.Guenter Knauf2012-07-041-0/+4
|
* examples: fix compiler warningsYang Tse2012-04-131-3/+6
|
* Added a workaround for printing size_t.Guenter Knauf2011-09-231-1/+2
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | 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.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Fixed a surprising number of example programs that were passing int argumentsDan Fandrich2008-05-221-3/+3
| | | | to curl_easy_setopt instead of long.
* Fixed some more simple compile warnings in the examples.Dan Fandrich2007-07-161-1/+2
|
* Fixed some compile warnings and errors and improved portability in theDan Fandrich2007-07-121-2/+2
| | | | | | examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
* typecast the number passed to CURLOPT_INFILESIZE_LARGE as a curl_off_tDaniel Stenberg2006-06-301-2/+4
|
* add a URL to an article about making Apache support PUTDaniel Stenberg2005-01-191-0/+3
|
* removed unused variable and trailing whitespaceDaniel Stenberg2004-11-221-8/+7
|
* David J Meyer's large file support.Daniel Stenberg2004-01-051-3/+2
|
* typecast the size to long for platforms where st_size is off_tDaniel Stenberg2003-12-181-2/+3
|
* clarified the URL part based on the problems Martin Hilpert hadDaniel Stenberg2003-12-181-1/+2
|
* use the newer option namesDaniel Stenberg2003-12-081-1/+1
|
* Added httpput.cDaniel Stenberg2001-09-251-0/+100