summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp.c
AgeCommit message (Expand)Author
2016-08-22Replace "union sockunion" with "union sockaddr_union" which is alsoTodd C. Miller
2016-08-20Use connect(2) + a connect_wait() function instead of connect_sync(),Todd C. Miller
2016-08-18Move connect_sync() to util.c and use it when connecting via httpTodd C. Miller
2016-08-09When connect(2) is interrupted by a signal it continues asynchronouslyTodd C. Miller
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2015-12-05Let special/ftp compile again. 'ares' is only used inside #ifndef SMALL, soKenneth R Westerback
2015-12-05Send bad whitespace to the attic.Kenneth R Westerback
2015-12-05Silence gcc whining about using 'serrno' uninitialized by initializingKenneth R Westerback
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