lukem
69e6f0aa33
-n is ignored for auto-fetch transfers
2003-12-19 03:46:02 +00:00
lukem
d11f9c3d61
Don't warn about "ignored setsockopt" failures unless debugging is
...
enabled. Suggested by Todd Vierling.
Allow empty passwords in ftp://user:@host/file auto-fetch URLs,
per RFC 1738. Requested by Simon Poole.
Update version.
2003-12-10 12:34:28 +00:00
lukem
037eb18f90
correct URL syntax in comment
2003-12-04 12:51:18 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
lukem
462f170e30
crank version for:
...
* Work around broken ftp servers (notably ProFTPd) that can't even follow
RFC 2389, and skip any amount of whitespace before a FEATure response.
The RFC says 'single space' yet ProFTPd puts two.
Noted by DervishD <raul@pleyades.net>.
* Improve formatting of features[] debug dump.
* Invalidate remote directory completion cache if any command which
may change the remote contents completes successfully, including:
del, mdel, ren, mkdir, rmdir, quote, and all upload commands
Patch from Yar Tikhiy <yar@freebsd.org>.
2003-07-31 07:13:01 +00:00
lukem
8d51fbf035
Invalidate remote directory completion cache if any command which
...
may change the remote contents completes successfully, including:
del, mdel, ren, mkdir, rmdir, quote, and all upload commands
Patch from Yar Tikhiy <yar@comp.chem.msu.su>.
2003-07-31 07:06:41 +00:00
lukem
90bb61be44
* Work around broken ftp servers (notably ProFTPd) that can't even follow
...
RFC 2389, and skip any amount of whitespace before a FEATure response.
The RFC says 'single space' yet ProFTPd puts two.
* Improve formatting of features[] debug dump.
2003-07-31 06:57:07 +00:00
lukem
6f5fbdb6de
* $FTPUSERAGENT overrides the HTTP User-Agent header.
...
Based on patch from Douwe Kiela.
* Add about:tnftp
* Fix URL in about:netbsd
* Crank version
2003-07-31 05:23:59 +00:00
salo
0f5a0c156d
netbsd.org->NetBSD.org
2003-07-26 20:34:11 +00:00
lukem
9cfea6f679
tweak copyright; the stuff jason did in util.c wasn't migrated to this file.
2003-07-17 12:06:18 +00:00
itojun
032ed69f9a
strlcpy
2003-07-12 13:23:55 +00:00
lukem
7d830fa777
tweak previous; no need to have .Sm on and then just .Sm off
2003-07-09 08:09:04 +00:00
wiz
b93a29cdaa
Fixes to make these man page look nice with groff-1.19.
2003-06-30 19:12:31 +00:00
wiz
80cc7b7a7b
Quote punctuation so macro works on it (another one).
2003-06-26 17:48:37 +00:00
wiz
e6ebf10cb2
Quote punctuation so macro works on it.
2003-06-26 17:47:59 +00:00
lukem
9f376c42d4
Don't coredump when printing '%n' in the prompt if there's no username yet.
...
Fix from Maxim Konovalov <maxim at freebsd dot org>.
2003-06-15 13:49:46 +00:00
wiz
d75f1336b3
Uppercase URL.
2003-05-14 14:30:59 +00:00
grant
7d55c4c504
fix a bogus error message when given a HTTP URL with a trailing
...
slash.
2003-03-07 08:13:48 +00:00
lukem
c84f3c0dd2
crank dates
2003-02-28 09:54:51 +00:00
lukem
e7d3948066
crank version
2003-02-28 09:54:20 +00:00
lukem
a44810ddeb
Crank dates on TNF copyright.
...
Remove UCB & WIDE copyrights; the progressbar functionality was
written entirely by me under the TNF copyright.
2003-02-28 09:53:49 +00:00
lukem
7106b560a6
add a cast to appease SUNWspro cc. noted by grant@
2003-02-28 04:06:55 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
grant
2ceb845887
The correct capitalisation of 'NetBSD.org' is (you
...
guessed it) 'NetBSD.org'.
some mdoc fixes.
2003-02-14 15:59:16 +00:00
grant
d36ebd361d
change a couple #ifdef's so /usr/bin/progress doesn't stomp all over
...
the tty if it's not in the foreground.
ok'd by jhawk.
2003-02-12 15:18:28 +00:00
jhawk
401927b1d5
Abstract out progress bar support into progressbar.[ch], for inclusion
...
in external programs (conditionalized on -DSTANDALONE_PROGRESS).
The following moved from util.c to progressbar.c:
alarmtimer(), progressmeter(), psummary(), ptransfer(),
xsignal(), xsignal_restart()
The following moved from extern.h and ftp_var.h to progressbar.h:
STALLTIME, verbose, fromatty, progress, quit_time, ttywidth
2003-01-21 16:08:06 +00:00
wiz
9be5fcf7bc
Bump date for last.
2003-01-20 08:08:34 +00:00
toddpw
fb9b804063
Add a "macdef" example and a short section explaining that you may need to
...
use it to disable extended passive mode when your firewall is obnoxious.
This did in fact solve a problem I was having with a firewall at work, and
the status message was taken directly from a problem session fixed by this.
2003-01-20 03:20:42 +00:00
lukem
d348d3d723
tweaks for fparseln(3) move from libutil to libc:
...
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
lukem
b81a1d9903
- if SMALLPROG is defined, add -DNO_EDITCOMPLETE -DNO_ABOUT,
...
and don't bother linking with -ledit -ltermcap
- if SMALLPROG is not defined or SMALLPROG_INET6 is defined, add -DINET6
2002-10-17 06:16:48 +00:00
wiz
20fb5b240f
Typo and Americanism. From Adrian Mrva.
2002-10-02 15:56:27 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
christos
8bb1db1740
Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time>
...
seconds. Ok'd by luke.
2002-08-27 13:11:02 +00:00
lukem
a791673973
Improve description of help text for "passive".
...
Noted by Yar Tikhiy <yar at FreeBSD.org> in private email.
2002-07-29 04:24:47 +00:00
itojun
374ba6170a
strdup -> xstrdup (handle malloc error right)
2002-07-12 03:05:13 +00:00
lukem
4b9ba774c6
Various improvements in wording and marking,
...
from Alan Barrett <apb@cequrux.com>, with a bit of tweaking from me.
2002-07-07 10:40:31 +00:00
lukem
f7f117dc43
highlight that for ftp:// auto-fetches, read access is required on
...
intermediate directories because ftp(1) obeys RFC1738. for [bin/15419]
2002-07-04 06:39:28 +00:00
yamt
ebba433f59
make an auto const variable static.
2002-06-08 14:44:07 +00:00
lukem
29559300fb
- use setprogname()
...
- only support -6 if INET6 is defined
2002-06-05 13:51:54 +00:00
lukem
3f4d453aef
- when showing the final progress bar, replace "00:00 ETA" with the
...
elapsed time. (suggested by simonb)
- actually display transfer stats after a URL fetch. (bug introduced a
*long* time ago)
- update copyright & version
2002-06-05 10:20:46 +00:00
lukem
964e8f45d1
Fix description for "form", "mode", and "struct" commands.
...
Inspired by [bin/16736] from Steve McClellan <steve.mcclellan@radisys.com>
2002-05-18 03:00:13 +00:00
lukem
3bf21f2fec
Use "r+" instead of "r+w", since the latter is not standard.
...
Noted by <Steve.McClellan@radisys.com> in private email.
2002-05-07 02:04:09 +00:00
lukem
32b641335c
Handle URLs without files correctly (e.g, when using '-o -').
...
Fix from Anders Dinsen <anders@dinsen.net> in [bin/13768]
2002-05-06 15:03:30 +00:00
lukem
f801eb939e
- Only send port number in HTTP/1.1 Host: request if port != 80.
...
Fixes [bin/15415] from Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
- Fix bad mode passed by mls() to recvrequest().
Fixes [bin/16642] from <steve.mcclellan@radisys.com>
2002-05-06 14:36:41 +00:00
itojun
9bdb5743dd
avoid buffer overrun on PASV from malicious server.
...
http://online.securityfocus.com/archive/1/269356/2002-04-22/2002-04-28/0
2002-04-25 10:55:43 +00:00
thorpej
f98e5b2d99
Deal with const'ification if el_parse().
2002-03-18 20:14:03 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
itojun
8c33b8d2d5
portnum is unsigned, use %u instead of %d
2002-02-01 10:07:54 +00:00
itojun
9585a2fa3e
line2 may overrun if line is too long (> 200). be more careful on strcpy.
...
XXX strlen(argv[x]) should be checked before copies.
2002-02-01 05:04:43 +00:00
lukem
eda0427e63
update copyrights
2001-12-26 09:40:15 +00:00