summaryrefslogtreecommitdiff
path: root/usr.bin/ftp
AgeCommit message (Collapse)Author
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 ↵Todd C. Miller
volatile instead
2001-06-18Change default transfer type from ascii to binary; closes PR 1626Todd C. Miller
Similar to patch from mpech@prosoft.org.lv
2001-03-09Add a missing newline in debug mode to separate debug output fromTodd C. Miller
line containing command completion; "Brian J. Kifiak" <bk@rt.fm>
2001-03-09Typo in Synopsis; there's a -v option, not -uTodd C. Miller
"Brian J. Kifiak" <bk@rt.fm>
2000-12-24Spelling: tripple -> tripleAaron Campbell
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18emit more easier-to-understand error message on port name error. from deraadtJun-ichiro itojun Hagino
2000-09-07bogus comment policeTodd T. Fries
2000-09-03Boring... Add :L modifier to all tweakable variables tests.Marc Espie
Closes PR 1246
2000-07-27If the HOME environment variable is not set, do not try to readTodd C. Miller
.netrc from cwd. Mostly paranoia but good practive. Closes PR 1332.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-27initialize result. this fixes the recent problem that makes ftp coredumpFederico G. Schwindt
if epsv4 is disabled. problem reported by price@netdoor.com on misc.
2000-06-21add epsv4 command, which turns off epsv on ipv4 (off by dfeault)Jun-ichiro itojun Hagino
automagicaslly disable epsv on ipv4, if epsv fails for single connection. merge from netbsd-current. req from fgs.
2000-06-13Make both ls and dir send a LIST command. Perviously, ls would useTodd C. Miller
NLST but some ftp server (notably wu-ftpd 2.6.x) only list files in the output of NLST. This behavior appears to be RFC conforming and it makes things like "mget *" behave more sanely. To get just the file list you can still use the "nlist" command.
2000-06-11do not add empty lines to history; always check the size of the returnedFederico G. Schwindt
string by el_gets.
2000-05-25do not attach incorrect Host: directive if we are using proxy.Jun-ichiro itojun Hagino
Host: directive must be based on original URI, not the proxy address. see RFC2616.
2000-05-150-size files still deserve a progress meter; also, after file is finishedTheo de Raadt
transfer, display a non-ETA line with an elapsed time.
2000-05-15parse RFC2732 ftp URL (ftp://[::1]:21/readme)Jun-ichiro itojun Hagino
2000-05-03if no /etc/services file, use defaults. found by millert, fixed by itojunTheo de Raadt
2000-05-02always attach port in numeric, for HTTP Host: header.Jun-ichiro itojun Hagino
from: chris and mickey XXX Host: header is specified in HTTP/1.1, not HTTP/1.0.
2000-04-24support RFC2732 IPv6 address literal URLs (http://[::1]:80/index.html).Jun-ichiro itojun Hagino
2000-03-22fix overflows, ok aaron@Markus Friedl
2000-03-07Various cleanup.Aaron Campbell
2000-02-29Various cleanup.Aaron Campbell
2000-02-01Work-around for lame servers that return `19100' for a date.Marc Espie
Based on NetBSD patch, slightly trimmed since we don't use the fractional part yet...
2000-01-09Make 'ftp host:/path/to/file' work again. This got broken during IPV6Todd C. Miller
integration.
2000-01-04fix file:// URL support; broken by KAME supportTheo de Raadt
1999-12-08ftp(1) from KAME, should be good for testing.Jun-ichiro itojun Hagino
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1999-06-29retreived -> retrievedAaron Campbell
1999-06-10Handle PAGER in a manner consistent with the Single Unix Specification:Paul Janzen
that is, use PAGER rather than "more" if it is defined and non-null, not just if it is defined.
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-02-09correct a default; js3guj@gold.ocn.ne.jpTheo de Raadt
1999-02-09if we read less than Content-Length, whine and errorTheo de Raadt
1998-12-24retreived -> retrievedAaron Campbell
1998-12-16more .Nm fixesAaron Campbell
1998-12-13Fall back from passive to active if connect() fails. This can happen if the ↵Todd C. Miller
remote server has an ip filter in place (live cvs does).
1998-11-21add -m to usage()David Leonard
1998-09-30something was too verboase in http fetch modeTheo de Raadt
1998-09-28first cut at file:/ URL supportTheo de Raadt
1998-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-09-22if winsize.ws_col is 0, assume 80Theo de Raadt
1998-09-19write() can do short-writes -- deal; based on rahnds@ codeTheo de Raadt
1998-09-19make the progress meter run correctly in all cases if in -m modeTodd C. Miller
1998-09-19Make -m flag turn on progress meter in all situationsTodd C. Miller
1998-09-19add -m option to turn on progress meter in non-verbose modeTodd C. Miller
1998-09-19Don't turn of progress meter when output file is stdout. The meter will go ↵Todd C. Miller
to stderr in this case.
1998-09-11don't display Retrieving... message unless verbose output desiredMarco S Hyman
1998-09-01use commands("%s", buf); lukemTheo de Raadt