summaryrefslogtreecommitdiff
path: root/docs/examples/ftpget.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: remove superfluous null-pointer checksDaniel Stenberg2019-02-141-2/+2
| | | | | | | in ftpget, ftpsget and sftpget, so that scan-build stops warning for potential NULL pointer dereference below! Detected by scan-build
* code style: use spaces around equals signsDaniel Stenberg2017-09-111-4/+4
|
* 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: more descriptionsDaniel Stenberg2015-06-181-6/+4
|
* docs: Spelling fixesVille Skyttä2015-06-081-1/+1
|
* examples: cleanup curl includesDaniel Stenberg2011-06-281-2/+0
| | | | Only <curl/curl.h> is needed typically and curl/types.h has been removed
* 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.
* examples: use example.com in example URLsDaniel Stenberg2010-10-051-4/+2
|
* 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-1/+1
| | | | to curl_easy_setopt instead of long.
* Michal Marek's cleanup of how curl_easy_setopt() is used in examples andDaniel Stenberg2008-02-271-1/+1
| | | | test code. Thanks to his curl_easy_setopt() typechecker work...
* Fixed some more simple compile warnings in the examples.Dan Fandrich2007-07-161-1/+1
|
* 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.
* stripped trailing whitespaceDaniel Stenberg2004-08-231-6/+10
|
* use the newer option namesDaniel Stenberg2003-12-081-1/+1
|
* I made the write callback create the file the first time it gets called soDaniel Stenberg2002-01-081-11/+50
| | | | that it won't create an empty file if the remote file doesn't exist
* Added ftpget.c just to show that it is exactly as easy to get FTP filesDaniel Stenberg2001-03-271-0/+44