OpenBSD CVS

CVS log for src/usr.bin/ftp/cmdtab.c


[BACK] Up to [local] / src / usr.bin / ftp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Thu May 16 12:44:17 2019 UTC (5 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.30: +0 -0 lines
Diff to previous 1.30 (colored)

Revert suni'ls ftp rewrite for now.
We are juggling too many things at the moment and we can't deal with
the differences in behaviour right now.

Revision 1.30, Sun May 12 20:44:39 2019 UTC (5 years ago) by kmos
Branch: MAIN
Changes since 1.29: +1 -1 lines
FILE REMOVED

Move us from old ftp(1) to Sunil's new ftp(1). The necessary modifications
have been made to make it behave. Any new misbehaviors can be fixed in tree.

OK florian@ deraadt@ "Have you committed ftp yet?"

Revision 1.29 / (download) - annotate - [select for diffs], Sat Jan 21 08:33:07 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Nuke whitespace foolish enough to expose itself during the great
"warning:" rectification.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 30 04:45:45 2015 UTC (9 years, 3 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.27: +1 -3 lines
Diff to previous 1.27 (colored)

remove tenex transfer support. if you still have TOPS20 machines in
service, you'll need to stick with openbsd 5.6.
bonus: remove references to ebcdic.
ok deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 6 22:12:28 2013 UTC (11 years, 4 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.26: +1 -3 lines
Diff to previous 1.26 (colored)

Remove empty[].  Unused after rev. 1.26.

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 5 19:35:30 2009 UTC (15 years ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.25: +7 -29 lines
Diff to previous 1.25 (colored)

make it clean removing the ifdef SMALL maze.  separate cmds and
small stuff.  make it a fetcher.  shrinks quite a bit
agreed by millert@, krw@
ok theo, sthen@

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 27 22:51:51 2009 UTC (15 years ago) by martynas
Branch: MAIN
Changes since 1.24: +13 -1 lines
Diff to previous 1.24 (colored)

remove uploading and macros support from install media;  to save
some space
discussed with theo, todd@, millert@
tested and looked over by sthen@

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 27 21:37:13 2009 UTC (15 years ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -5 lines
Diff to previous 1.23 (colored)

toast the rcsid strings which just get in the way

Revision 1.23 / (download) - annotate - [select for diffs], Tue Jul 8 21:07:57 2008 UTC (15 years, 10 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

- add support for recursive transfers (but not for floppies), e.g.
'mget -cr 4.*' would recursively fetch (-r), and resume the previous
transfers (-c) of 4.X release directories
uses local matching (fnmatch), but only for recursive transfers.
current behavior is not changed in any way.
- while here, ifndef SMALL debugging stuff, this saves some space,
for floppies
- some debugging code was enabled for non-debugging mode, checks
assume debug is set to zero, but it's not initially set
- all "Confirm with" prompts are forced, remove redundant argument
- fix usage: -C and -c are not available for SMALL

discussed a year ago w/ pyr@
looks good to millert@
previous version looked good to pyr@
man page tweaks & ok jmc@

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 25 21:15:19 2008 UTC (15 years, 10 months ago) by martynas
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C;  ok millert@
while here fix some comments (!SMALL vs. SMALL stuff), and add
missing

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 25 18:07:00 2008 UTC (15 years, 10 months ago) by martynas
Branch: MAIN
Changes since 1.20: +8 -2 lines
Diff to previous 1.20 (colored)

- fix -Wall (no behavior change, a || b && c = a || (b && c) anyway)
- use argv[0] for "Confirm with", as other confirm()s do
- fix confirm cases, pass force=1 for mdelete and mabort too, fixes
a bug when you end up deleting all files when you ^C, instead of
getting a confirmation
- add reput command, that will allow to continue transfer uploads
- add -c for mget and mput, that will allow to continue multiple
transfers
- fix a bug when you use restart command together with put.  the
progressmeter would start from zero, and eta would show fictional
time.  this actually allows reput/put -c to have correct progressmeter
too
- document everything
discussed with, suggestions, reminded to ifdef SMALL the code so
we're able to fit in floppies, and ok millert@, and jmc@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 25 05:45:20 2006 UTC (18 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

two strtol calls that were begging to be converted to strtonum

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 11 15:40:43 2005 UTC (18 years, 10 months ago) by fgsch
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.18: +93 -89 lines
Diff to previous 1.18 (colored)

remove help if SMALL is defined. idea from NetBSD. should shrink a few
bytes in the ramdisk. deraadt@ ok.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 16 04:39:16 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

type corrections and other delinting

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 16 21:46:22 2003 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.16: +4 -8 lines
Diff to previous 1.16 (colored)

for -DSMALL, do not include rcsid[]s

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:08 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.15: +3 -7 lines
Diff to previous 1.15 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 4 22:49:55 2001 UTC (22 years, 7 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

More accurate help.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 21 19:22:54 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

add epsv4 command, which turns off epsv on ipv4 (off by dfeault)
automagicaslly disable epsv on ipv4, if epsv fails for single connection.
merge from netbsd-current.

req from fgs.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 8 12:57:06 1999 UTC (24 years, 5 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

ftp(1) from KAME, should be good for testing.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 24 17:00:12 1998 UTC (25 years, 5 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

retreived -> retrieved

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 4 04:37:13 1997 UTC (26 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

Updtaes from NetBSD (lukem)
    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]]'

Other changes:
    * use symbolic flags in access(2)
    * Use USHRT_MAX, not 0xffff

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 25 21:56:18 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Updates from NetBSD (lukem) include -Wall cleanup.
More -W* cleanup and in_port_t usage by me.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 10 00:17:08 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

Sync with NetBSD (lukem)
    * 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.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 21 20:59:27 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.7: +10 -10 lines
Diff to previous 1.7 (colored)

Add in recent NetBSD changes we didn't already have:
    Always compile complete.c but ifdef out the bits if -DSMALL (christos)
    reset interactive mode correctly in auto_fetch() mget mode (lukem)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 14 04:32:12 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

Sync with NetBSD and fix "get foo.txt /dev/tty" wrt progress meter
and setting times.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 3 01:05:34 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Add back ``-r'' option and fix strncpy() usage and other nits because
I'm anal.  Closer to KNF now.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 3 01:02:34 1997 UTC (27 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.4: +108 -83 lines
Diff to previous 1.4 (colored)

Sync with NetBSD

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 1 05:27:22 1996 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Correct the connecthelp info. This is really ftp, not tftp.
From NetBSD (fvdl).

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 9 19:55:11 1996 UTC (27 years, 6 months ago) by kstailey
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

optional size argument to hash command

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:33:34 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:17 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:17 1995 UTC (28 years, 7 months ago) by deraadt
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.