summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Expand)Author
2023-12-23Relax -C pledge to unbreak shelling out in interactive modeKlemens Nanni
2023-12-15No interactive shell if -o is givenKlemens Nanni
2023-12-12Make -o less special, drop -o '' support, always use last valueKlemens Nanni
2023-11-30Single file to stdout without "fattr"Klemens Nanni
2023-11-30Fold identical pledge cases, '#ifndef SMALL \n if (!resume)' equals 'else'Klemens Nanni
2023-11-22Piping single file to standard out needs no "proc exec"Klemens Nanni
2023-11-22Do not drop into "ftp> " shell when piping to stdandard outputKlemens Nanni
2023-11-09-C/resume without "proc exec"Klemens Nanni
2023-06-28revert makefile change included by mistake in previousOmar Polo
2023-06-28drop needless strcspn in the header parsingOmar Polo
2023-06-28fix parsing of the Last-Modified headerOmar Polo
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-11-09Before printing the redirect URI pass it through stravis since it isClaudio Jeker
2022-11-09Strip spaces at end of header lines and in chunked encoding headers.Claudio Jeker
2022-09-19Remove now-unused connect_wait() function.Todd C. Miller
2022-09-15Use non-blocking connect() with ppoll() and timeout instead of alarm().Todd C. Miller
2022-09-08Adjust HTTP header parsing to follow RFC more closely.Claudio Jeker
2022-03-27ftp.1: remove a sentence fragment left over from a previous editChristian Weisgerber
2021-11-10Revert previousKlemens Nanni
2021-11-09Print actually requested URLsKlemens Nanni
2021-11-06Stop URL encoding the tilde characterKlemens Nanni
2021-08-31Spacing. OK tb@Claudio Jeker
2021-07-14Remove unneeded calls to tls_init(3)kn
2021-03-29in unsafe_char(), handle %NN with array-index inspection rather than weirdTheo de Raadt
2021-03-13only try to set timestamps on files; avoids error with ftp -o /dev/nullStuart Henderson
2021-02-25ftp: prevent double free() in error pathChristian Weisgerber
2021-02-16make use of getline(3) in ftp(1)Christian Weisgerber
2021-02-02add -Tu to usage();Jason McIntyre
2021-02-02introduce support for sending the If-Modified-Since header whileRobert Nagy
2021-01-27update comment, SMALL was split into SMALL and NOSSLStuart Henderson
2021-01-01Handle Permanent Redirect (RFC 7538)Christopher Zimmermann
2020-10-18Accommodate POSIX basename(3) that takes a non-const parameter andChristian Weisgerber
2020-09-06On tls_config_set_protocols() failure, include the output ofTheo Buehler
2020-09-06Wording tweak from jsingTheo Buehler
2020-09-06Use an int for the verification depth and drop a cast.Theo Buehler
2020-09-06Document -S protocols in ftp(1)Theo Buehler
2020-09-06Allow specifying supported TLS protocols in ftp(1)Theo Buehler
2020-09-01Fix build with -fno-common (default in clang 11)Jeremie Courreges-Anglas
2020-07-06in 2014 I added this annotation: /* XXX floating point printf in signal handl...Theo de Raadt
2020-07-04Avoid malloc(3) calls in signal handlerkn
2020-07-04Fix a double free in error pathsJeremie Courreges-Anglas
2020-06-20Avoid one uninitialized warning in file_get()Jeremie Courreges-Anglas
2020-02-22Avoid duplication in the code that sends headersJeremie Courreges-Anglas
2020-02-22Respect userinfo even when built with NOSSL (floppy ramdisks)Jeremie Courreges-Anglas
2020-02-20Backout revision 1.190 partially. That part was an unintended change whichYASUOKA Masahiko
2020-02-19Fix http (not https) auth combined with proxy auth.Jeremie Courreges-Anglas
2020-02-19Don't put the userinfo in request URI. This also makes accessing aYASUOKA Masahiko
2020-02-13Two longjmp(3) vs volatile fixes and improvementsJeremie Courreges-Anglas
2020-02-13Fixes and tweaks for read/write loop in url_get()Jeremie Courreges-Anglas