summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/cmds.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2019-11-18various knf and whitespace; ok jcaTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-05-16Revert suni'ls ftp rewrite for now.Florian Obser
2019-05-12Move us from old ftp(1) to Sunil's new ftp(1). The necessary modificationskmos
2018-01-24Use closefrom(3) instead of manually closing all file descriptorsTheo Buehler
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2016-08-14Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.Philip Guenther
2016-05-25Avoid a use-after-free.Kenneth R Westerback
2016-03-17Last parameter to execl[e]() functions *must* be cast to a pointer.Kenneth R Westerback
2015-10-18A whole buncha unsigned char casts for ctype function arguments.mmcc
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-08-16I found a number of interactive events which can cause signals, and goTheo de Raadt
2012-10-15Add support for recursive ftp upload. The mput command of the ftpAlexander Bluhm
2009-05-05make it clean removing the ifdef SMALL maze. separate cmds andMartynas 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
2008-10-16- resume http transfers [-C], if local file does not existMartynas Venckus
2008-09-18unbreak for gcc2 archs; declaration before code!Todd T. Fries
2008-09-08- simplify mget(): remove the duplicate code and just use getit(),Martynas Venckus
2008-08-22default file transfer type is binary, not ascii;Igor Sobrado
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
2008-06-25- fix -Wall (no behavior change, a || b && c = a || (b && c) anyway)Martynas Venckus
2008-06-16- add 'q', which does the same as eofMartynas Venckus
2008-06-16fix transfer interrupting when confirmrest mode is used. changeMartynas Venckus
2008-06-15make further prompts work after eof, don't spam with prompts inMartynas Venckus
2008-05-13Remove #if 0 code that has been unused for nearly a decade (andRay Lai
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-07-26Remove the space after "Password:" in password prompts where echo isTodd C. Miller
2006-11-22Mark signal race.Ray Lai
2006-11-02Pass full buffer size to fgets.Ray Lai
2006-11-02Add checks for fgets and properly overwrite newline.Ray Lai
2006-05-19Remove ``sanity check'' that is already done in loop.Ray Lai
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai
2006-04-25two strtol calls that were begging to be converted to strtonumTed Unangst
2005-10-12Fix mget directory traversal vulnerability. From NetBSD. CAN-2002-1345.Otto Moerbeek
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-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-05string fixes; ok miod henningTheo de Raadt
2003-03-31Treat empty environment variables the same as NULL. henning@ OKTodd C. Miller
2003-01-03be more aware of directory change failures; s@msmith.netTheo de Raadt
2002-07-12malloc/strdup failure not handled; cloder@acm.orgTheo de Raadt
2002-01-04Don't longjmp(..., 0)Artur Grabowski
2001-10-24Misplaced space in fprintf "Execute get, put orappend to initiate transfer"Todd C. Miller
2001-10-01Typo, assign the new restart point to nrestart_point, not restart_point.Todd C. Miller
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel