aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/ftpget.c
AgeCommit message (Collapse)Author
2019-02-14examples: remove superfluous null-pointer checksDaniel Stenberg
in ftpget, ftpsget and sftpget, so that scan-build stops warning for potential NULL pointer dereference below! Detected by scan-build
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-06-18examples: more descriptionsDaniel Stenberg
2015-06-08docs: Spelling fixesVille Skyttä
2011-06-28examples: cleanup curl includesDaniel Stenberg
Only <curl/curl.h> is needed typically and curl/types.h has been removed
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-10-05examples: use example.com in example URLsDaniel Stenberg
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.
2008-02-27Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg
test code. Thanks to his curl_easy_setopt() typechecker work...
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.
2004-08-23stripped trailing whitespaceDaniel Stenberg
2003-12-08use the newer option namesDaniel Stenberg
2002-01-08I made the write callback create the file the first time it gets called soDaniel Stenberg
that it won't create an empty file if the remote file doesn't exist
2001-03-27Added ftpget.c just to show that it is exactly as easy to get FTP filesDaniel Stenberg