summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp.c
AgeCommit message (Expand)Author
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
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2001-06-23remove evil #ifdef __GNUC__ garbage to avoid longjmp clobbering and use volat...Todd C. Miller
2000-10-18emit more easier-to-understand error message on port name error. from deraadtJun-ichiro itojun Hagino
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-06-27initialize result. this fixes the recent problem that makes ftp coredumpFederico G. Schwindt
2000-06-21add epsv4 command, which turns off epsv on ipv4 (off by dfeault)Jun-ichiro itojun Hagino
2000-05-03if no /etc/services file, use defaults. found by millert, fixed by itojunTheo de Raadt
1999-12-08ftp(1) from KAME, should be good for testing.Jun-ichiro itojun Hagino
1998-12-13Fall back from passive to active if connect() fails. This can happen if the ...Todd C. Miller
1998-09-19write() can do short-writes -- deal; based on rahnds@ codeTheo de Raadt
1998-09-19Make -m flag turn on progress meter in all situationsTodd C. Miller
1998-09-19Don't turn of progress meter when output file is stdout. The meter will go t...Todd C. Miller
1998-07-07fd_set is not a structArtur Grabowski
1998-06-08Fix some problems noted by lukem@netbsd.orgTodd C. Miller
1998-05-13handle EINTRTheo de Raadt
1998-05-13make signal handlers save/restore errnoTheo de Raadt
1998-02-10Fix buffer overflows in quote1(), clear line bufferTobias Weingartner
1997-12-17By default, use passive mode and fall back to active as needed.Todd C. Miller