The NetBSD Project

CVS log for src/usr.bin/ftp/ftp.1

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / ftp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.131.8.1 / (download) - annotate - [select for diffs], Tue Dec 17 21:07:59 2013 UTC (7 months, 1 week ago) by bouyer
Branch: netbsd-6
Changes since 1.131: +30 -14 lines
Diff to previous 1.131 (colored) next main 1.132 (colored)

Apply patch, requested by tron in ticket #997:
	usr.bin/ftp/Makefile				patch
	usr.bin/ftp/cmds.c				patch
	usr.bin/ftp/cmdtab.c				patch
	usr.bin/ftp/extern.h				patch
	usr.bin/ftp/fetch.c				patch
	usr.bin/ftp/ftp.1				patch
	usr.bin/ftp/ftp.c				patch
	usr.bin/ftp/ftp_var.h				patch
	usr.bin/ftp/main.c				patch
	usr.bin/ftp/progressbar.c			patch
	usr.bin/ftp/ssl.c				patch
	usr.bin/ftp/ssl.h				patch
	usr.bin/ftp/util.c				patch
	usr.bin/ftp/version.h				patch

Add HTTPS support to ftp(1).

Revision 1.133.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:35 2013 UTC (17 months ago) by tls
Branch: tls-maxphys
Changes since 1.133: +29 -3 lines
Diff to previous 1.133 (colored) next main 1.134 (colored)

resync with head

Revision 1.131.6.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:38 2013 UTC (18 months, 1 week ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.131.6.1: +29 -3 lines
Diff to previous 1.131.6.1 (colored) to branchpoint 1.131 (colored) next main 1.132 (colored)

sync with head

Revision 1.134 / (download) - annotate - [select for diffs], Sat Dec 22 16:57:10 2012 UTC (19 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver, HEAD
Changes since 1.133: +29 -3 lines
Diff to previous 1.133 (colored)

document https support, mentioning certificates are not validated, and obey
https_proxy.

Revision 1.131.6.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:32 2012 UTC (2 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.131: +2 -12 lines
Diff to previous 1.131 (colored)

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Sun Apr 8 22:00:38 2012 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.132: +1 -11 lines
Diff to previous 1.132 (colored)

Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.

Revision 1.132 / (download) - annotate - [select for diffs], Thu Mar 22 07:58:18 2012 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Fix whitespace nits. Suggested by Bug Hunting.

Revision 1.131 / (download) - annotate - [select for diffs], Fri Mar 5 07:41:10 2010 UTC (4 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.130: +17 -17 lines
Diff to previous 1.130 (colored)

Back to using 'RFC xxxx' instead of 'RFCxxxx'

Revision 1.130 / (download) - annotate - [select for diffs], Sat Jul 11 18:35:48 2009 UTC (5 years ago) by joerg
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.129: +2 -3 lines
Diff to previous 1.129 (colored)

Fix markup.

Revision 1.127.6.1 / (download) - annotate - [select for diffs], Wed May 13 19:19:50 2009 UTC (5 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.127: +16 -68 lines
Diff to previous 1.127 (colored) next main 1.128 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.129 / (download) - annotate - [select for diffs], Mon May 4 19:47:09 2009 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.128: +3 -2 lines
Diff to previous 1.128 (colored)

New sentence, new line.

Revision 1.128 / (download) - annotate - [select for diffs], Thu Mar 12 12:35:17 2009 UTC (5 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.127: +14 -67 lines
Diff to previous 1.127 (colored)

Don't workaround ancient macro argument limit with .Xo/.Xc. Don't use
.Sm off/.Sm on.

Revision 1.127 / (download) - annotate - [select for diffs], Tue Sep 30 03:41:53 2008 UTC (5 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Branch point for: jym-xensuspend
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored)

update copyrights

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:10 2008 UTC (6 years, 1 month ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.124: +8 -5 lines
Diff to previous 1.124 (colored) next main 1.125 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:05 2008 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pf42
Changes since 1.123: +8 -12 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

sync with head.

Revision 1.126 / (download) - annotate - [select for diffs], Tue May 13 09:33:36 2008 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Changes since 1.125: +5 -6 lines
Diff to previous 1.125 (colored)

Bump date; punctuation improvements.

Revision 1.125 / (download) - annotate - [select for diffs], Sat May 10 00:05:31 2008 UTC (6 years, 2 months ago) by skd
Branch: MAIN
Changes since 1.124: +7 -3 lines
Diff to previous 1.124 (colored)

Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4 and ipv6 respectively.  This hack is due to our friends a Juniper Networks who break
epsv in ipv6.  Should be fixed in ScreenOS 6.2.X.

Revision 1.124 / (download) - annotate - [select for diffs], Fri May 2 18:11:06 2008 UTC (6 years, 2 months ago) by martin
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.123: +1 -8 lines
Diff to previous 1.123 (colored)

Move TNF licenses to 2 clause form

Revision 1.121.2.1 / (download) - annotate - [select for diffs], Wed Jan 9 02:00:39 2008 UTC (6 years, 6 months ago) by matt
Branch: matt-armv6
Changes since 1.121: +31 -31 lines
Diff to previous 1.121 (colored) next main 1.122 (colored)

sync with HEAD

Revision 1.123 / (download) - annotate - [select for diffs], Tue Jan 8 15:28:31 2008 UTC (6 years, 6 months ago) by reed
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42
Changes since 1.122: +11 -11 lines
Diff to previous 1.122 (colored)

Sort a command. It was was renamed in 1.113 but not resorted.
(I noticed when reading man page but didn't quickly find what I was
looking for.)
Also add a missing period.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Dec 2 19:40:54 2007 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: cube-autoconf-base, cube-autoconf
Changes since 1.121: +21 -21 lines
Diff to previous 1.121 (colored)

Sort options.

Revision 1.121 / (download) - annotate - [select for diffs], Mon Aug 20 16:07:05 2007 UTC (6 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: matt-armv6-prevmlocking
Branch point for: matt-armv6
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Never use "utilize".  It means exactly the same thing as "use", but it
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Mon Aug 6 04:42:14 2007 UTC (6 years, 11 months ago) by lukem
Branch: matt-mips64
Changes since 1.120.2.1: +2462 -0 lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)

reorder location of "-s srcaddr" in synopsis

Revision 1.120.2.1, Mon Aug 6 04:42:13 2007 UTC (6 years, 11 months ago) by lukem
Branch: matt-mips64
Changes since 1.120: +0 -2462 lines
FILE REMOVED

file ftp.1 was added on branch matt-mips64 on 2007-08-06 04:42:14 +0000

Revision 1.120 / (download) - annotate - [select for diffs], Mon Aug 6 04:42:13 2007 UTC (6 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.119: +3 -3 lines
Diff to previous 1.119 (colored)

reorder location of "-s srcaddr" in synopsis

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jul 18 06:40:01 2007 UTC (7 years ago) by lukem
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.118: +23 -3 lines
Diff to previous 1.118 (colored)

Document about:ftp and about:version.

Revision 1.118 / (download) - annotate - [select for diffs], Thu May 24 05:05:18 2007 UTC (7 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.117: +7 -3 lines
Diff to previous 1.117 (colored)

Display times in RFC2822 form rather than using ctime(3), since
the former is more explicit about the timezone offset.

Revision 1.117 / (download) - annotate - [select for diffs], Tue May 15 23:54:19 2007 UTC (7 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.116: +24 -15 lines
Diff to previous 1.116 (colored)

* Modify parse_url() to consistently strip the leading `/' off ftp URLs.
  Fixes PR 17617.
* Use 'RFCnnnn' (with leading 0) instead of 'RFC nnnn', to be
  consistent with the style in the RFC index.
* Refer to RFC3916 instead of 1738 or 2732.
* Expand the list of supported RFCs in ftp(1) to contain the document
  name as well.

Revision 1.116 / (download) - annotate - [select for diffs], Thu May 10 05:59:30 2007 UTC (7 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored)

Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Apr 17 05:52:03 2007 UTC (7 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.114: +14 -9 lines
Diff to previous 1.114 (colored)

* Implement -s srcaddr; uses srcaddr as the local IP address for all
  connections.
  Based on code in the version of ftp that FreeBSD had before they
  replaced it with lukemftp.
* Move error message handling into ftp_connect() rather than in the
  caller, so that more specific error reporting can occur.
* Improve consistency of various warning and error messages.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Oct 27 01:29:17 2006 UTC (7 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.113: +4 -4 lines
Diff to previous 1.113 (colored)

Use "see" instead of "c.f.".
Per feedback from Valeriy E. Ushakov.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Jan 31 20:05:36 2006 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored)

rename debug to ftp_debug. grr libssh.

Revision 1.109.2.3 / (download) - annotate - [select for diffs], Sun Jul 24 10:35:28 2005 UTC (9 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.109.2.2: +7 -4 lines
Diff to previous 1.109.2.2 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored)

Pull up revision 1.112 (requested by lukem in ticket #606):
In macdef, point to $ command (from jmc@openbsd), and split paragraph (it was getting a bit big).

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Sun Jul 24 10:34:35 2005 UTC (9 years ago) by tron
Branch: netbsd-3
Changes since 1.109.2.1: +70 -25 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored)

Pull up revision 1.111 (requested by lukem in ticket #606):
Use more macros, and use them more consistently.
Fix a few typos.

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sun Jul 24 10:34:18 2005 UTC (9 years ago) by tron
Branch: netbsd-3
Changes since 1.109: +23 -4 lines
Diff to previous 1.109 (colored)

Pull up revision 1.110 (requested by lukem in ticket #606):
Improve the description of the macros.
Patch from David H. Gutteridge in PR 24296.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Jul 6 11:21:26 2005 UTC (9 years ago) by wiz
Branch: MAIN
Changes since 1.111: +7 -4 lines
Diff to previous 1.111 (colored)

In macdef, point to $ command (from jmc@openbsd), and split paragraph (it was getting a bit big).

Revision 1.111 / (download) - annotate - [select for diffs], Wed Jul 6 11:18:05 2005 UTC (9 years ago) by wiz
Branch: MAIN
Changes since 1.110: +70 -25 lines
Diff to previous 1.110 (colored)

Use more macros, and use them more consistently.
Fix a few typos.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Jul 5 09:29:54 2005 UTC (9 years ago) by lukem
Branch: MAIN
Changes since 1.109: +23 -4 lines
Diff to previous 1.109 (colored)

Improve the description of the macros.
Patch from David H. Gutteridge in PR 24296.

Revision 1.109 / (download) - annotate - [select for diffs], Sun Feb 20 20:54:01 2005 UTC (9 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.108: +12 -12 lines
Diff to previous 1.108 (colored)

If we mark up RFC, then avoid using "command modifier" for it.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Jan 15 21:28:16 2005 UTC (9 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

preempt wizd; crank date

Revision 1.107 / (download) - annotate - [select for diffs], Sat Jan 15 21:27:46 2005 UTC (9 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.106: +23 -6 lines
Diff to previous 1.106 (colored)

Expand description of http_proxy by suggesting the use of RFC 1738 '%xx'
encoding for "unsafe URL" characters in usernames and passwords.

Revision 1.106 / (download) - annotate - [select for diffs], Tue Jan 4 23:59:11 2005 UTC (9 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

fix copyright year

Revision 1.105 / (download) - annotate - [select for diffs], Wed Dec 1 12:03:55 2004 UTC (9 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Fix typo.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Fri Oct 8 03:27:24 2004 UTC (9 years, 9 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.101: +10 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Pullup rev 1.102-1.104 (requested by dan in ticket #909)

Note potentially surprising file-saving behaviour in case of HTTP redirects.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Oct 7 08:51:08 2004 UTC (9 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

Drop trailing whitespace.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Oct 7 07:47:31 2004 UTC (9 years, 9 months ago) by dan
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

pre-empt wizd (bump date for previous.)

Revision 1.102 / (download) - annotate - [select for diffs], Thu Oct 7 07:44:17 2004 UTC (9 years, 9 months ago) by dan
Branch: MAIN
Changes since 1.101: +9 -1 lines
Diff to previous 1.101 (colored)

Note potentially surprising file-saving behaviour in case of HTTP redirects

Revision 1.101 / (download) - annotate - [select for diffs], Fri Dec 19 03:46:02 2003 UTC (10 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1
Branch point for: netbsd-2-0
Changes since 1.100: +5 -3 lines
Diff to previous 1.100 (colored)

-n is ignored for auto-fetch transfers

Revision 1.100 / (download) - annotate - [select for diffs], Thu Aug 7 11:13:54 2003 UTC (10 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.99: +2 -6 lines
Diff to previous 1.99 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Jul 31 05:24:00 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.98: +7 -2 lines
Diff to previous 1.98 (colored)

* $FTPUSERAGENT overrides the HTTP User-Agent header.
  Based on patch from Douwe Kiela.
* Add about:tnftp
* Fix URL in about:netbsd
* Crank version

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jul 9 08:09:04 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.97: +1 -3 lines
Diff to previous 1.97 (colored)

tweak previous; no need to have  .Sm on  and then just  .Sm off

Revision 1.97 / (download) - annotate - [select for diffs], Mon Jun 30 19:12:32 2003 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored)

Fixes to make these man page look nice with groff-1.19.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jun 26 17:48:37 2003 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Quote punctuation so macro works on it (another one).

Revision 1.95 / (download) - annotate - [select for diffs], Thu Jun 26 17:47:59 2003 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Quote punctuation so macro works on it.

Revision 1.94 / (download) - annotate - [select for diffs], Wed May 14 14:31:00 2003 UTC (11 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.93: +5 -5 lines
Diff to previous 1.93 (colored)

Uppercase URL.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Feb 28 09:54:51 2003 UTC (11 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

crank dates

Revision 1.92 / (download) - annotate - [select for diffs], Tue Feb 25 10:35:42 2003 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.

Revision 1.91 / (download) - annotate - [select for diffs], Fri Feb 14 15:59:16 2003 UTC (11 years, 5 months ago) by grant
Branch: MAIN
Changes since 1.90: +4 -2 lines
Diff to previous 1.90 (colored)

The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jan 20 08:08:34 2003 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Bump date for last.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Jan 20 03:20:42 2003 UTC (11 years, 6 months ago) by toddpw
Branch: MAIN
Changes since 1.88: +24 -1 lines
Diff to previous 1.88 (colored)

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.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Oct 2 15:56:27 2002 UTC (11 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Typo and Americanism. From Adrian Mrva.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Sep 30 11:09:02 2002 UTC (11 years, 10 months ago) by grant
Branch: MAIN
Changes since 1.86: +10 -6 lines
Diff to previous 1.86 (colored)

New sentence, new line.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Aug 27 13:11:02 2002 UTC (11 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.85: +8 -1 lines
Diff to previous 1.85 (colored)

Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time>
seconds. Ok'd by luke.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Tue Jul 9 08:37:18 2002 UTC (12 years ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.82: +269 -72 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

pull up revisions 1.84-1.85 (requested by lukem in ticket #432):
    1.85
	Various improvements in wording and marking,
	from Alan Barrett <apb@cequrux.com>, with a bit of tweaking from me.
    1.84
	highlight that for ftp:// auto-fetches, read access is required on
	intermediate directories because ftp(1) obeys RFC1738.  for [bin/15419]

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jul 7 10:40:31 2002 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.84: +264 -78 lines
Diff to previous 1.84 (colored)

Various improvements in wording and marking,
from Alan Barrett <apb@cequrux.com>, with a bit of tweaking from me.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Jul 4 06:39:28 2002 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.83: +15 -4 lines
Diff to previous 1.83 (colored)

highlight that for ftp:// auto-fetches, read access is required on
intermediate directories because ftp(1) obeys RFC1738.  for [bin/15419]

Revision 1.83 / (download) - annotate - [select for diffs], Wed Jun 5 10:20:48 2002 UTC (12 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

- 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

Revision 1.82 / (download) - annotate - [select for diffs], Sat May 18 03:00:13 2002 UTC (12 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.81: +11 -10 lines
Diff to previous 1.81 (colored)

Fix description for "form", "mode", and "struct" commands.
Inspired by [bin/16736] from Steve McClellan <steve.mcclellan@radisys.com>

Revision 1.81 / (download) - annotate - [select for diffs], Fri Feb 8 01:36:23 2002 UTC (12 years, 5 months ago) by ross
Branch: MAIN
Changes since 1.80: +8 -8 lines
Diff to previous 1.80 (colored)

Generate <>& symbolically. I'm avoiding .../dist/... directories for now.

Revision 1.80 / (download) - annotate - [select for diffs], Wed Dec 26 09:40:16 2001 UTC (12 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

update copyrights

Revision 1.79 / (download) - annotate - [select for diffs], Sun Dec 23 12:23:02 2001 UTC (12 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.78: +11 -3 lines
Diff to previous 1.78 (colored)

Add -4 to force IPv4 and -6 to force IPv6 address usage.
From Hajimu UMEMOTO, via Mike Heffner of FreeBSD.

(FreeBSD has imported NetBSD's ftp as their ftp client;
Mike is sending back some of their local changes).

Revision 1.78 / (download) - annotate - [select for diffs], Sat Dec 1 19:19:24 2001 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Punctuation nits.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Dec 1 16:43:14 2001 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

Whitespace cleanup.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jun 20 02:12:22 2001 UTC (13 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.75: +8 -8 lines
Diff to previous 1.75 (colored)

put "site" in alphabetical order. noted by Mike Barcroft in private email

Revision 1.75 / (download) - annotate - [select for diffs], Mon Nov 27 10:19:12 2000 UTC (13 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.74: +9 -1 lines
Diff to previous 1.74 (colored)

be more explicit that $ftp_proxy and $http_proxy are not supported for
interactive sessions

Revision 1.74 / (download) - annotate - [select for diffs], Wed Nov 15 00:10:59 2000 UTC (13 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.73: +42 -9 lines
Diff to previous 1.73 (colored)

- implement "mreget"; as per "mget" but uses "reget" instead of "get"
- add -N netrc and $NETRC, as methods to select an alternative .netrc file
- cache local user name and home directory for further use
- in mget(), use docase() instead of a local version to do the case
  conversion.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Sep 28 12:26:19 2000 UTC (13 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.72: +11 -6 lines
Diff to previous 1.72 (colored)

clarify that $ftp_proxy only works for full URLs and can't be used for
interactive connections.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jul 28 11:45:12 2000 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.71: +20 -20 lines
Diff to previous 1.71 (colored)

rename "opts" to "remopts", so people used to "o host" don't get bitten...

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jul 18 07:18:36 2000 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.70: +2 -1 lines
Diff to previous 1.70 (colored)

add rfc 2389, since that's now supported

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jul 18 07:16:54 2000 UTC (14 years ago) by lukem
Branch: MAIN
Changes since 1.69: +60 -16 lines
Diff to previous 1.69 (colored)

add support for FEAT and OPTS commands with `features' and `opts'.
(from RFC 2389).

add support for MLST & MLSD (machine parseble listings) with 'mlst', 'mlsd'
and 'pmlsd' (mlsd |$PAGER) commands.  (from draft-ietf-ftpext-mlst-11)

rename remotesyst() to getremoteinfo(), and modify to parse the result from
FEAT (if supported), and take into account the support for the various
extensions such as MDTM, SIZE, REST (STREAM), MLSD, and FEAT/OPTS.
put each feature into one of the following categories:
	- known to work (explicit FEAT)
	- unknown but assume works until explicit failure, when it's
	  then tagged as `known not to work'.
	- known not to work (FEAT succeeded but didn't return anything,
	  or was unknown and then explicit failure)
assign results into features[] matrix.

add support to getreply() so that an optional callback will be called
for each line received from the server except for the first and last.
this is used in FEAT (and MLST) parsing.

modify various commands to check if REST (STREAM), MDTM and SIZE are
explicitly or implicitly supported before using.

fix `syst' when verbose is off.

minor knf (indent goto labels by one space, etc).

simply various command usage handlers by assuming that argv != NULL except
for quit() and disconnect().

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:30:23 2000 UTC (14 years, 1 month ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.63: +46 -25 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jun 5 09:22:53 2000 UTC (14 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.68: +5 -3 lines
Diff to previous 1.68 (colored)

- fix ai_unmapped() to be a no-op in the !def INET6 case
- display `(-INET6)' at the end of the version string if !def INET6
- clarify in the man page that IPv6 support may not be present (for lukemftp :)

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jun 1 04:26:38 2000 UTC (14 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.67: +10 -7 lines
Diff to previous 1.67 (colored)

updated comment on IPv4 mapped address.  sync with kame.

Revision 1.67 / (download) - annotate - [select for diffs], Wed May 31 14:23:58 2000 UTC (14 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.66: +20 -2 lines
Diff to previous 1.66 (colored)

Add support for 'ftp -u url file ...', to upload a list of files to given url.
Mostly based on [bin/10019] by Scott Aaron Bamford <sab@ansic.net>

Revision 1.66 / (download) - annotate - [select for diffs], Wed May 31 10:25:15 2000 UTC (14 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Fix examples on using pipes in local filenames. AFAICT, ftp has always
required `dir . |more' not as `dir |more' treats `|more' as the remote
filename. Resolves [bin/9922] by Geoff Wing <mason@primenet.com.au>

Revision 1.65 / (download) - annotate - [select for diffs], Tue May 30 05:21:46 2000 UTC (14 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.64: +15 -1 lines
Diff to previous 1.64 (colored)

document IPv4 mapped address twists.
- ftp(1): treats IPv4 mapped destination as IPv4 peer, not native IPv6 peer.
  this does not support network with SIIT translator.
- rshd(8)/rlogind(8): rejects accesses from IPv4 mapped peer, to avoid
  possible abuse of IPv4 mapped addr (rshd/rlogind use source address-based
  auth so it is important to check the condition).

Revision 1.64 / (download) - annotate - [select for diffs], Sun May 28 07:53:30 2000 UTC (14 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.63: +6 -22 lines
Diff to previous 1.63 (colored)

Change `ls' to use the `LIST' and not `NLST' FTP protocol command.
Now that after many years on not caring we find certain popular
ftp servers are starting to obey RFC959 to the letter of the law
and will only return a list of filenames (not directories or
other filetypes) in the output of `NLST', then `LIST' is more useful
in this case. (Note that the aforementioned pedanticness means that
filename completion isn't as useful as it could be...)
Fixes [bin/8937] by David A. Gatwood <dgatwood@deepspace.mklinux.org>

Revision 1.63 / (download) - annotate - [select for diffs], Mon May 1 10:35:18 2000 UTC (14 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

convert to ANSI KNF

Revision 1.62 / (download) - annotate - [select for diffs], Mon May 1 09:44:54 2000 UTC (14 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.61: +6 -2 lines
Diff to previous 1.61 (colored)

* Add support for `fget localfile', which reads a list of filenames to
  retrieve from localfile.  Based on work by Darren Reed.
* Crank version.
* Update copyright dates.

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:57 1999 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.47: +424 -190 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Pull up to last week's -current.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Dec 21 13:00:19 1999 UTC (14 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.60: +4 -6 lines
Diff to previous 1.60 (colored)

change references from draft-ietf-ipngwg-url-literal-01.txt to RFC 2732

Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 26 21:41:57 1999 UTC (14 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.59: +23 -40 lines
Diff to previous 1.59 (colored)

* complete_remote(): use remglob("", ...) instead of remglob(".", ...),
  for listings of the current working directory; some ftp servers don't
  like `NLST .'.
  [noted by Giles Lean <giles@nemeton.com.au>]
* recvrequest(): treat remote=="" as remote==NULL when calling command().
  (to support the above change)
* support `[user@]' in `[user@]host' and `[user@]host[:][path]'.
  [based on idea (and initial code) from David Maxwell <david@fundy.ca>]
* `idle' may be invoked without any args
* reformat some comments
* reformat usage string in program and man page
* call updateremotepwd() after successful login, not after successful connect
* always call setsockopt(, IPPROTO_IP, IP_TOS, ) (et al); using #if
  defined(IPPROTO_IP) doesn't work on certain foreign systems where
  enums instead of #defines are used...
  [noted by Matthias Pfaller <leo@dachau.marco.de>]

Revision 1.59 / (download) - annotate - [select for diffs], Fri Nov 12 02:50:38 1999 UTC (14 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.58: +49 -16 lines
Diff to previous 1.58 (colored)

- implement `set rprompt'; right side version of `set prompt'. depends on
  EL_RPROMPT support i added to editline(3).
- allow $FTPPROMPT and $FTPRPROMPT to override defaults for the relevant
  prompts
- move `%' formatting code from prompt() to expandbuf().
- implement `%.' and `%c', similar to the same % codes in tcsh(1)
  (functionality I added to tcsh nearly 6 years ago), except that `%.'
  always does `...trailing' and `%c' always does `/<x>trailing'.
- unknown `%foo' codes get printed as `%foo'

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 11 02:53:03 1999 UTC (14 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.57: +43 -4 lines
Diff to previous 1.57 (colored)

- implement updateremotepwd(); update the global variable `remotepwd'
  to contain the remote working directory.
- add `set prompt', a user configurable prompt. (defaults to `ftp> ').
  the following escape characters a la tcsh(1) are supported: %/, %m,
  %M, and %n.
- add global var `username'; used by prompt code
- fix a couple of minor memory leaks
- bump version

Revision 1.57 / (download) - annotate - [select for diffs], Wed Nov 10 07:34:41 1999 UTC (14 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.56: +25 -8 lines
Diff to previous 1.56 (colored)

- implement restarting file:/// non-proxied http:// URLs (with -R).
- fix a semicolono which stopped file:/// from working

Revision 1.56 / (download) - annotate - [select for diffs], Sun Oct 24 12:31:39 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.55: +235 -136 lines
Diff to previous 1.55 (colored)

new features:
- add `usage'; displays the usage of a command.
  implemented by calling the c_handler() with argc = 0, argv = "funcname".
- add `passive auto'; does the same as $FTPMODE=auto.
- add `set [option value]'; display all options, or set an option to a value.
- add `unset option'; unset an option.
- add getoptionvalue() to retrieve an option's value, and replace a few
  global variables with calls to this.
- implement cleanuppeer(), which resets various bits of state back to
  `disconnected'. call in disconnect() and lostpeer().
- support completing on `options'.
- improve recovery after a SIGINT may have closed the connection.
  XXX: there's still a couple to fix

other stuff:
- various consistency fixes in the man page.
- ensure that the command usage strings in the code and man page match reality.
- mput/mget: check that the connection still exists before each xfer.
- minor cosmetic changes in confirm().
- set code correctly in sizecmd() and modtime()
- don't need \n in err() strings.
- change lostpeer to take an argument (rather than casting (sig_t)lostpeer
  in signal handlers)
- knf and whitespace police.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Oct 12 08:11:59 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.54: +3 -6 lines
Diff to previous 1.54 (colored)

s/ARPANET/Internet/ ...

Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 12 06:05:00 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.53: +14 -4 lines
Diff to previous 1.53 (colored)

a few user interface and cosmetic tweaks:
* confirm(): move from util.c to cmds.c. display mnemonic string in its prompt.
  add support for `q' (terminate current xfer), `?' (show help list)
* in various signal handlers, output a linefeed only if fromatty.
* if fgets(stdin) returned NULL (i.e, EOF), clearerr(stdin) because you don't
  want future fgets to fail. this is not done for the fgets() in the main
  command loop, since ftp will quit at that point.
* unless ftp is invoked with -a, don't retain the anonftp setting between
  hosts (`ftp somehost:' sets anonftp, but you don't want that to `stick'
  if you close that connection and open a new one).

Revision 1.53 / (download) - annotate - [select for diffs], Tue Oct 5 13:05:40 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.52: +4 -2 lines
Diff to previous 1.52 (colored)

* factor out SIGINFO setting into a handler that is always active (but only
  prints out info if bytes > 0). only set the handler if SIGINFO is defined
* hijack SIGQUIT to be the same as SIGINFO (foreign ports have this, and it's
  annoying to have SIGQUIT dump core on netbsd when it prints info on other
  systems)
* in {recv,send}request(), factor a lot of duplicated code out into a
  `cleanup' section at the end
* rework shell() a bit

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 5 01:16:12 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.51: +36 -3 lines
Diff to previous 1.51 (colored)

add TNFi copyright to all files i've done more than a minor amount of work to...

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 5 00:54:07 1999 UTC (14 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.50: +8 -6 lines
Diff to previous 1.50 (colored)

enhancments from Marc Horowitz <marc@mit.edu> to improve connection timeouts:
* implement xsignal_restart(), which only sets the SA_RESTART flag if
  specifically requested
* xsignal() is now a wrapper to xsignal_restart(). INFO, USR1, USR2 and WINCH
  are restartable, ALRM, INT, PIPE and QUIT are not.
* improve getreply()'s timeout code to take advantage of the above.

other changes:
* improve wording of how globbing works for `classic' URLs (host:path).
  suggested by John Refling <johnr@imageworks.com> in relation to PRs
  [bin/8519] and [bin/8520]
* always compile in the `edit' command even if NO_EDITCOMPLETE defined.
  it's just a no-op in the latter case, which is more consistent to
  the users.
* always compile in about: support (i.e, remove NO_ABOUT).
  i'm entitled to some vanity in this program...
* clean up some whitespace

Revision 1.50 / (download) - annotate - [select for diffs], Fri Oct 1 08:01:12 1999 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.49: +9 -8 lines
Diff to previous 1.49 (colored)

If EPSV or EPRT fails, disable epsv4 for the rest of the current connection.
the disabled state can be overridden by toggling epsv4.

(I got sick of the errors about EPSV not being supported on almost
every server I connect to. This way we retain support for epsv4, but
it's not so whiny after the first failure...)

Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 1 05:08:32 1999 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.48: +11 -7 lines
Diff to previous 1.48 (colored)

* newer takes an optional second arg, so document this
* be a bit more explicit that the arguments to rate are in bytes

Revision 1.48 / (download) - annotate - [select for diffs], Tue Sep 28 06:47:41 1999 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.47: +18 -2 lines
Diff to previous 1.47 (colored)

* add new commands:
	lpage	page local files
	pdir	as dir, but through your $PAGER
	pls	as ls, but through your $PAGER
* implement docase() (a la dotrans() et al) and use appropriately, rototilling
  some duplicated code
* globulize(): modify to return a pointer to the strdup()ed result in all cases,
  and hack the code that calls it to take this into account
* replace strcpy() and strncpy() with strlcpy()
* put(), getit(): use some aptly named local vars instead of argv[...]
* delint

Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 22 07:18:34 1999 UTC (14 years, 10 months ago) by lukem
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.46: +15 -6 lines
Diff to previous 1.46 (colored)

* add support for `xferbuf', which sets both `sndbuf' and `rcvbuf'
* document the above three commands
* rototill the way the sndbuf and rcvbuf work. remove resetsockbufsize()
* use the appropriate socket buffer size as the size of the buffer that
  the read()/write() loops use. speeds up things in some cases.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 12 13:20:34 1999 UTC (15 years ago) by lukem
Branch: MAIN
Changes since 1.45: +21 -14 lines
Diff to previous 1.45 (colored)

* change fetch_ftp() to be fully rfc 1738 compliant; if the URL contains
  the an empty directory (e.g, between `some' and `path' in
  `ftp://host/some//path'), then execute `CWD ' (without a path).
  This command will probably fail on rfc 959 compliant servers, so
  issue a warning in this case and bail. [noted by cgd].
  (i wonder if the people who wrote rfc 1738 actually realised that this
  requirement appears to contravene the spec for `cwd' in rfc 959 ?)
* replace isurl() with isipv6addr(), and use appropriately. fixes
  auto-login with `classic ftp URLs' (e.g, `ftp somehost:')
* cleanup and rework some of the ipv6 stuff in parse_url()
* prevent potential coredump in fetch_ftp() when parsing `;type=X'
* KNF a few lines
* fix a couple of comments
* cleanup the man page a bit

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jul 11 20:37:39 1999 UTC (15 years ago) by itojun
Branch: MAIN
Changes since 1.44: +12 -1 lines
Diff to previous 1.44 (colored)

add epsv4 command, which enable/disable the use of EPSV/EPRT.

this is mainly for (hypothetical) ftp server which disconnect clients
that use EPSV/EPRT.  I've never seen any ftp server like this, but
epsv4 command may be of use when such an ftp server is found.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jul 2 08:07:41 1999 UTC (15 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.43: +10 -2 lines
Diff to previous 1.43 (colored)

add dual-stack (IPv4/v6) support.  hope I broke no other part...

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jul 2 07:59:56 1999 UTC (15 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

IPv6 support.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jun 29 10:43:18 1999 UTC (15 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.41: +110 -5 lines
Diff to previous 1.41 (colored)

[fear this; more ftp hacking from lukem :-]

features:
---------
* transfer rate throttling with the new `rate' command. syntax:
	rate direction [max [incr]]
  where direction is `all', `get' or `put'.
  if max is not supplied, the current settings are displayed.
  if max is supplied, then transfers in the given direction will
  be throttled to this value.
  if incr is supplied, the increment for the `on-the-fly' scaling
  will be set to that, otherwise `1024' is used.
  currently implemented for binary get, binary put, and url fetches.
  not yet supported for ascii get or put, or local file copies.
* on-the-fly scaling of the throttle based on signals:
    - SIGUSR1 raises the throttle rate by the increment for that direction
    - SIGUSR2 lowers the throttle rate by the increment for that direction
* -T dir,max[,incr] option to set rate from the command line
* `k', `m', `g' suffix support for bytecounts in the `hash', `rate',
  `rcvbuf' and `sndbuf' commands)

bug fixes and code mods:
------------------------
* fix up ftp_login() so that ruserpass() is always called, even for
  command-line url fetches.
* implement strsuftoi(), which parses a given number into a int with
  suffix support. replaces getsockbufsize()
* implement parserate(), which does the argv parsing for -T and rate
* save and restore errno in signal handlers (may not be necessary, but
  it doesn't hurt)

notes:
------
the rate command has had reasonable testing, but I'd like feedback
if it doesn't do the right thing, especially from people on slower
(i.e, modem) links.
I haven't tested the rate throttle against a http server which does
`transfer-encoding: chunked' because I couldn't find a server to
test against.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Wed Jun 23 14:33:03 1999 UTC (15 years, 1 month ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001
Changes since 1.36.2.1: +3 -2 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

pullup 1.40->1.41 (kleink)

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Jun 22 21:02:15 1999 UTC (15 years, 1 month ago) by perry
Branch: netbsd-1-4
Changes since 1.36: +87 -37 lines
Diff to previous 1.36 (colored)

pullup 1.36->1.40 (lukem)

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jun 13 20:00:03 1999 UTC (15 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Elaborate a bit on PAGER.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jun 2 02:03:57 1999 UTC (15 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

* fix gate mode to login as `user@realhost' rather than using PASSERVE;
  the latter only seemed to work for TIS Gauntlet and not TIS fwtk.
  thanks to simonb@netbsd.org for testing this. fixes [bin/5556].
* if EOF (e.g, ^D) is entered at a username/password/account prompt which
  happens to use fgets(), exit the login rather than treating EOF as CR.
* don't use the comma operator where separate statements are valid
* always use snprintf to copy stuff into malloced buffers, just in case
  typos creep in and mean that the buffer ends up being overflowed

Revision 1.39 / (download) - annotate - [select for diffs], Wed May 12 11:16:44 1999 UTC (15 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.38: +27 -7 lines
Diff to previous 1.38 (colored)

parse http:// urls (and the $http_proxy variable) for [user:[pass]@]
elements, which are used for the initial authentication attempt (if
requested by the server).  in the case of $http_proxy, use the values
for proxy authentication.

Revision 1.38 / (download) - annotate - [select for diffs], Tue May 4 14:16:15 1999 UTC (15 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored)

clarify what uses gate-ftp mode. suggested by simonb

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 28 13:35:40 1999 UTC (15 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.36: +59 -32 lines
Diff to previous 1.36 (colored)

* make parsing of ftp:// urls more RFC 1738 compliant;
    - the path is split on `/', and each directory is CWD-ed into separately.
      (from [standards/7484] by Alan Barrett <apb@iafrica.com>)
    - support a trailing `;type=X' suffix, where X is a,i, or d.  (d isn't
      implemented, but it is recognised)
    - the only non-compliant behaviour is that empty directories sections
      (e.g `//') aren't run as `CWD ' - as a lot of ftpds don't like that.
      Instead, treat this as a no-op.
* don't support globbing for ftp urls, since that's technically not
  RFC compliant.
* fix a couple of man-page nits

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 22 07:36:40 1999 UTC (15 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE
Branch point for: netbsd-1-4
Changes since 1.35: +15 -5 lines
Diff to previous 1.35 (colored)

* implement -R; restart non-proxied command-line FTP xfers
* fix fetch_ftp() so that hcode parsing is not done for file:// urls
  (a } in the wrong place, and code at the wrong indent level...)
* change outfile to being a global (so it gets correctly reset)
* change parse_url to not remove leading '/' for non ftp urls.
  whilst this is not totally rfc1738 compliant, other code kinda
  assumes this is the case, and it doesn't hurt

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 15 08:22:20 1999 UTC (15 years, 4 months ago) by garbled
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

First round of .Os cleanups.  .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 8 04:36:13 1999 UTC (15 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.33: +59 -23 lines
Diff to previous 1.33 (colored)

* add url_decode() - `in-place' decode %xx escapes in a given url component
* parse_url()
-   only look for user[:pass] for an ftp url (per rfc1738)
-   strip leading /'s in an ftp url. (almost per rfc 1738)
* fetch_url()
-   decode a copy of the path and use that to build local filenames
-   send port in http Host: header (suggested by cgd@netbsd.org)
* fetch_ftp()
-   url_decode() the user, pass and path
-   fix splitting of path into dir & file (partially from [bin/7073])
-   don't bother caching the last host; it can cause problems when
    using ftp:// transfers, or when the user changes between xfers
* improve documentation of auto-fetched url arguments (especially regarding
  escape sequences in ftp:// urls)
* some whitespace & copyright updates

this should fix [bin/7073] William O Ferry <woferry@warp.wofme.com>,
as well as the metaissues raised in that PR.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 7 11:29:59 1999 UTC (15 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.32: +16 -2 lines
Diff to previous 1.32 (colored)

Clean up SYNOPSIS formatting.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 24 02:39:30 1999 UTC (15 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.31: +15 -6 lines
Diff to previous 1.31 (colored)

* -v enables verbose & progress, -V disables both
* set setvbuf(ttyout, NULL, _IOLBF, 0) and remove a bunch of fflush(ttyout).
* use fwrite() instead of write() for progressmeter (don't intermix stdio
  with non stdio ops)

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jan 23 15:46:24 1999 UTC (15 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.30: +16 -7 lines
Diff to previous 1.30 (colored)

support -f, which forces a cache flush for http xfers using either
`Pragma: no-cache' (http/1.0) or `Cache-Control: no-cache' (http/1.1)

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Nov 10 18:48:55 1998 UTC (15 years, 8 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.23: +87 -8 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

pull up rev(s) 1.24-1.30 from trunk.  (feyrer)

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 8 14:45:26 1998 UTC (15 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.29: +9 -1 lines
Diff to previous 1.29 (colored)

* hash & progress are mutually exclusive.  [noted by mrg@netbsd.org]
* in autofetch mode, don't attempt to 'cd /' on first xfer (only on
  subsequent xfers), as some ftp daemons don't permit that.
  [noted by dbj@netbsd.org].
  XXX: code could be smarter (but a lot more complicated to boot); this
  works for now.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 8 02:58:48 1998 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

default anon password is user@ not user@host

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 3 01:49:25 1998 UTC (16 years ago) by lukem
Branch: MAIN
Changes since 1.27: +13 -2 lines
Diff to previous 1.27 (colored)

features:
* support $no_proxy, which is a comma or space separated list of
  host[:port] elements for which proxying is to be disabled.
  (asked for by cgd in [bin/5027])
* if $FTPANONPASS is defined, use that as the anon ftp password
  (instead of "`whoami`@")
* allow http URL's without a filename as long as an output file
  is specified.

other stuff:
* implement parse_url(), which breaks up a URL into its bits, and use.
* simplify url_get() and auto_fetch() to use parse_url() and to not
  modify the supplied URL or a copy of it.
* implement xmalloc() and xstrdup(); error-checked malloc()/strdup()
* add more consistency to messages, quoting strings in output as `%s'

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 26 12:58:18 1998 UTC (16 years ago) by lukem
Branch: MAIN
Changes since 1.26: +11 -6 lines
Diff to previous 1.26 (colored)

* spell `retrieved' correctly!
* parse Last-Modified: HTTP headers for date, and change time of
  retrieved file if parsing succeeded
* support file:/// and file://localhost/ URLs
* in url_get(), re-write byte moving code to consistently use fread()
  and fwrite(), and check errors at end with ferror()
* add about:* easter-egg (#ifndef SMALL :-)

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 13 17:16:22 1998 UTC (16 years ago) by perry
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Style police: "uses" is better than "utilizes", which is a horrible nelogism.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 4 08:28:36 1998 UTC (16 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.24: +57 -2 lines
Diff to previous 1.24 (colored)

some fixes & enhancements from openbsd's ftp, with extra fixes by me:
* default to passive with active fallback. $FTPMODE modifies this behaviour.
  -A forces active connection.
* support '-o outfile' for auto-fetched files. outfile can be a file,
  `-' (for stdout), or '|command' (to output each file through command).
* support '-r waittime', which retries the connection after waittime seconds
  if it fails.
* fix 'page file' when restart is non-zero.
* try all ip-addresses of a host in a http fetch (as the normal ftp fetch
  does).

XXX: a ``broken pipe'' error sometimes occurs with -o '|command';
i haven't tracked this down yet.

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 20 00:38:46 1998 UTC (16 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

fix typo.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 23 07:32:50 1997 UTC (16 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

support $TMPDIR

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 18 10:20:22 1997 UTC (16 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.21: +31 -2 lines
Diff to previous 1.21 (colored)

bugs fixed:
* don't interpret '-' or '|' when a local filename is determined from
  the remote name (i.e, in mget, and in get with only one argument).
  This is implemented using an extra argument to recvrequest().
  Fixes a major security hole.
* clean up memory leak when using globulize()
* clean up a couple of comments
* fix wording in TNF copyright

features added:
* support for TIS fwtk gate-ftp servers:
	* read defaults from $FTPSERVER && $FTPSERVERPORT
	* start in gate-ftp mode if invoked as 'gate-ftp'
	* toggle or set with 'gate [host [port]]'

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 10 21:59:58 1997 UTC (17 years, 1 month ago) by lukem
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

* Only print the progress bar when ftp(1) is the foreground progress.
  Patch from enami tsugutomo <enami@ba2.so-net.or.jp> in [bin/3735].
* Fix punctuation.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 14 09:09:20 1997 UTC (17 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.19: +14 -6 lines
Diff to previous 1.19 (colored)

More enhancements/bugfixes (when will it end?)
* differentiate between being connected, and being logged in
* cleanup some text messages
* support username & password ftp URLs (ftp://user:pass@host/) in non-proxy
  situations; assume proxy supports it for proxy situations.
* cd to / before performing any autofetch transfers
* use strncasecmp in URL parsing. fix from <Todd.Miller@courtesan.com>

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 5 03:27:37 1997 UTC (17 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.18: +16 -3 lines
Diff to previous 1.18 (colored)

* support $ftp_proxy for ftp:// transfers [bin/3245]
* add "more" & "less" as synonyms for "page"
* move editline setup code into controlediting(), and call appropriately.
  only setup setup terminal if going into interactive mode. inspired
  by Todd Miller <todd.miller@courtesan.com>

Revision 1.18 / (download) - annotate - [select for diffs], Thu Mar 13 06:23:16 1997 UTC (17 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.17: +53 -5 lines
Diff to previous 1.17 (colored)

Features:
* support remglobbing of auto_fetch arguments
* new flag - '-e'; disable editing
* "page file" == "get file |${PAGER-less}"

Bugfixes/cleanup:
* consistently use a trailing '.' on messages
* code cleanup, including buffer overrun fixes, use puts
  and putchar in places, etc (inspired by OpenBSD mods)
* disable progress bar when local-file is a pipe or '-'
* skip \r in http headers
* fix remote ftpd slash bug more elegantly (so it works with ////)
* abort_remote(): check if cout==NULL before using it. should fix [bin/3273]
* fixed up cosmetic problems when complete_remote() generated errors from the
  remote server (such as "no files found", "login with user and pass", ...)
  done by adding extra argument to remglob(), which is a pointer to an error
  buffer to put messages in rather than printing to stdout.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 1 10:45:01 1997 UTC (17 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.16: +10 -4 lines
Diff to previous 1.16 (colored)

[Yet Another Huge Ftp Commit - hopefully the last for a while,
 barring any more little things people want added ...]

New features:
* progressmeter is now asynchronous, so "stalled" transfers can be
  detected. "- stalled -" is displayed instead of the ETA in this case.
  When the xfer resumes, the time that the xfer was stalled for is
  factored out of the ETA. It is debatable whether this is better than
  not factoring it out, but I like it this way (I.e, if it stalls for 8
  seconds and the ETA was 30 seconds, when it resumes the ETA will still
  be 30 seconds).
* verbosity can be disabled on the command line (-V), so that in auto-fetch
  mode the only lines displayed will be a description of the file, and
  the progress bar (if possible)
* if the screen is resized (and detected via the SIGWINCH signal), the
  progress bar will rescale automatically.

Bugs fixed:
* progress bar will not use the last character on the line, as this can
  cause problems on some terminals
* screen dimensions (via ioctl(TIOCWINSZ)) should use stdout not stdin
* progressmeter() used some vars before initialising them
* ^D will quit now. [fixes bin/3162]
* use hstrerror() to generate error message for host name lookup failure.
* use getcwd instead of getwd (it should have been OK, but why tempt fate?)
* auto-fetch transfers will always return a positive exit value upon failure
  or interruption, relative to the file's position in argv[].
* remote completion of / will work, without putting a leading "///".
  This is actually a bug in ftpd(1), where "NLST /" prefixes all names
  with "//", but fixing every ftpd(1) is not an option...

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 19 14:19:11 1997 UTC (17 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.15: +90 -25 lines
Diff to previous 1.15 (colored)

New features:
* Command line editing via editline(3) library.
* Context sensitive command and file completion, including remote files.

Enhancements to auto-fetch feature:
* Support for http:// URLs using the http protocol, including proxy HTTP
  support via $htty_proxy if it's defined.
* The connection is kept open between successive files on the same host.
  (obviously, this does not count for http requests.)
* Return value of ftp is 0 on no error, or the offset in argv[] of the file
  which failed (i.e., argv[x] failed, ftp returns x).
* If the path in an ftp URL or classic format line has a trailing '/',
  cd to the path and enter interactive mode. Fixes [bin/3011], albiet
  requiring the user to help ftp in determining the operation.

Other changes:
* '-P port' works for normal ftp, and is the default for all classic style
  auto-fetch transfers and for ftp URLs that don't specify the port.
  (previously it would just work for the first xfer.)
* Some code moved into separated files along logical divisions.
* Editing and completion can be compiled out with -DSMALLFTP.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 6 02:28:13 1996 UTC (17 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.14: +29 -63 lines
Diff to previous 1.14 (colored)

* note that nlist and ls and equivalent
* fix up optional argument descriptions for dir, ls, nlist, and user.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 6 02:06:49 1996 UTC (17 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored)

functionality mods:
* implement 'progress bar/meter' (inspired by ncftp). use 'progress' to
  toggle on. it will display current file size to 5 digits, automatically
  determining suffix (up to 16384 P (petabytes) == 2^64).
* 'ls' now uses NLST (unadorned listing), a la older ftp clients. 'dir'
  still does LIST (long listing). idea from John Nemeth <jnemeth@cue.bc.ca>

bug fixes:
* return first line of reply in reply_string[] from getreply(), instead
  of last line. This fixes [bin/741] (parsing of SYST), and also means
  that SIZE and MDTM messages will be parsed correctly if they're longer
  than 1 line.
* parse URL-style auto-ftps that have no filename correctly
  (e.g, ftp://host, ftp://host/, ftp://host/dir/). pointed out by
  Jaromir Dolecek <dolecek@saruman.ics.muni.cz>
* pass the correct size array in 2nd arg of utimes() when setting the
  modification time

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 28 03:12:35 1996 UTC (17 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.12: +75 -31 lines
Diff to previous 1.12 (colored)

More features, some of which were inspired by changes that
friedman@gnu.ai.mit.edu (Noah Friedman) made to his modified ftp:
- implement "lpwd" - local pwd
- implement "preserve" - toggle preserving of file modification
  times on retrieved files
- allow for explicit "on" or "off" arg to toggle commands
- "exit" synonym for "quit", "msend" synonym for "mput"
- in confirmation mode, allow 'a' (yes to rest of current command),
  and 'p' (turn off prompt mode, as if 'prompt off' was done,
  effective immediately)
- "modtime" returns time formatted as localtime, not GMT

Bug fixes:
- check for extraneous args on commands
- cleanup const usage, line formatting
- create 0 length temporary file in remglob() to prevent symlink games
  (from OpenBSD)
- check length of filename of ~/.netrc (from OpenBSD)

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 25 05:13:22 1996 UTC (17 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.11: +105 -58 lines
Diff to previous 1.11 (colored)

cleanups/bugfixes:
- don't echo 'ACCT' parameter when debugging (a la 'PASS')
- Fix checking of directory access for "/foo", the parent
  directory is "/", not "" (from FreeBSD)
- remove trailing whitespace on lines
- add any missing NetBSD tags
- cleanups to man page, includinging sorting options description

feature additions:
- variable sized hash marks (from [bin/683], but done in the hash command
  as an optional arg)
- more user-friendly transfer time printing (from FreeBSD, with mods)
- '-p' command line option to jump into PASV mode (closes [bin/2857],
  but with an option rather than checking argv[0])
- SIGINFO support for printing xfer stats when sending/receiving requests
- '-P port' for changing the port to connect to (from thorpej@netbsd.org)
- '-a': bypass normal login, and try anonymous login (from OpenBSD
  via thorpej)
- autofetch files via url (ftp://...) or "classic" (host:/file)
  (from OpenBSD via thorpej)
- 'ftp' synonymous with 'open' (from FreeBSD)

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 8 01:06:24 1995 UTC (18 years, 10 months ago) by tls
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.10: +25 -18 lines
Diff to previous 1.10 (colored)

Sync with 4.4lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Tue Sep 5 01:20:14 1995 UTC (18 years, 11 months ago) by tls
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +28 -7 lines
Diff to previous 1.1.1.1 (colored)

imported from 44lite2

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 13 00:09:41 1995 UTC (19 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.9: +16 -19 lines
Diff to previous 1.9 (colored)

Describe -t (enable packet tracing) command line flag (PR #713).
Alphabetize description of command line flags.

Packet tracing is an unimplemented feature, I've decided to keep it's
documentation since ever other UN*X vendor I checked still does.  Not
a particularly useful reason.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Mon Aug 29 03:09:14 1994 UTC (19 years, 11 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.9.2.1: +1158 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Add RCS ids.

Revision 1.9.2.1, Mon Aug 29 03:09:13 1994 UTC (19 years, 11 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.9: +0 -1158 lines
FILE REMOVED

file ftp.1 was added on branch netbsd-1-0 on 1994-08-29 03:09:14 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 29 03:09:13 1994 UTC (19 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Add RCS ids.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 25 04:27:47 1994 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.7: +21 -0 lines
Diff to previous 1.7 (colored)

passive mode support, from David Carrel <carrel@cisco.com>, and cleaned
up for the new ftp sources by me.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 25 03:49:46 1994 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

the previous local changes

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 25 03:47:59 1994 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.5: +7 -8 lines
Diff to previous 1.5 (colored)

clean up import, no local changes.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Thu Aug 25 03:27:53 1994 UTC (19 years, 11 months ago) by cgd
CVS Tags: lite-1
Changes since 1.1: +6 -6 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

import from 4.4-Lite

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 3 17:47:34 1994 UTC (20 years, 6 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-0-base
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

spelling mistakes

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 11 02:23:51 1994 UTC (20 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fix spelling errors.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 1 07:32:28 1993 UTC (21 years ago) by mycroft
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add RCS indentifiers.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 22 03:27:34 1993 UTC (21 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Fix various bugs in man pages (from 386BSD patch 130).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (21 years, 4 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (21 years, 4 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>