summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp.c
AgeCommit message (Expand)Author
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */Philip Guenther
2015-02-09various defines always exist, so delete the ifdef test.Ted Unangst
2015-01-30remove tenex transfer support. if you still have TOPS20 machines inTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-24Remove unnecessary include: netinet/in_systm.h is not needed by theseLawrence Teo
2014-08-16I found a number of interactive events which can cause signals, and goTheo de Raadt
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-04-22remove dead stores to error. from Fritjof BornebuschTed Unangst
2013-12-20When writing a file, break out when we get a write(2) error, notJeremie Courreges-Anglas
2013-11-13protosTheo de Raadt
2012-04-30Add a -s flag to ftp(1) to let the user specify the source IP addressChristiano F. Haesbaert
2010-09-03Make second parameter of poll() the correct type. Removes compile warning.lum
2010-07-02#ifndef SMALL a few more things to save space on the ramdisksTheo de Raadt
2009-06-06make it possible to abort transfers of broken ftp servers. firstMartynas Venckus
2009-04-27in silent mode, shut up connect to address warning since it spamsMartynas Venckus
2009-04-27remove uploading and macros support from install media; to saveMartynas Venckus
2009-04-27toast the rcsid strings which just get in the wayTheo de Raadt
2009-04-26figure out titles automatically by using remote file name. removeMartynas Venckus
2009-04-25guard NOOP code (that tries to send remaining NOOP string) afterMartynas Venckus
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
2008-06-25in resume mode, pass -c to mget when {dir,file}hasglob, so that i'mMartynas Venckus
2008-06-25- fix -Wall (no behavior change, a || b && c = a || (b && c) anyway)Martynas Venckus
2008-05-24Enclose an informational message in a verbose check.Pierre-Yves Ritschard
2008-04-12Protect errno from being trashed by other functions.Ray Lai
2008-03-10turn on keepalive by default (one byte every 60 seconds)Marc Espie
2007-06-16implement a `keep-alive' option that sends bytes over an inactiveMarc Espie
2007-03-06Since our ftp client opportuniticly tries EPSV, then falls back to PASV forBob Beck
2006-06-23free and sl_free already check against NULL, remove a few unneeded ifs.Steven Mestdagh
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai
2006-05-16https URL support; rototilled by a few people including me; originallyTheo de Raadt
2006-04-25two strtol calls that were begging to be converted to strtonumTed Unangst
2006-02-16delete a few double declarations; ok ottoPeter Valchev
2006-01-10Prevent close() from clobbering errno. ok otto@ deraadt@Moritz Jodeit
2005-11-13fseeko() and lseek() have different return values. cope with that correctly....Theo de Raadt
2005-10-30restart_point is of type off_t, so use it with fseeko() and cast itNikolay Sturm
2004-09-16type corrections and other delintingTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2003-12-16for -DSMALL, do not include rcsid[]sTheo de Raadt
2003-08-11The empty() function basically effects a poll, so replace it withTodd C. Miller
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-05string fixes; ok miod henningTheo de Raadt
2003-03-11getnameinfo buffer has to be NI_MAXHOSTJun-ichiro itojun Hagino
2003-03-11check error on getnameinfo failure.Jun-ichiro itojun Hagino
2002-07-04use tcp high portrange for active data connections. ok deraadt@Jakob Schlyter
2002-06-09strlcpy fix, PR 2727Jun-ichiro itojun Hagino
2002-06-09do not present scopeid on wire format, as it is local to nodeJun-ichiro itojun Hagino
2002-06-01more snprintfTheo de Raadt
2002-05-30-4 and -6 options; kanai@big.or.jp; itojun okTheo de Raadt
2002-04-25avoid buffer overrun on PASV from malicious server.Jun-ichiro itojun Hagino
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller