CVSROOT: /cvs
Module name: src
Changes by: [EMAIL PROTECTED] 2008/09/08 13:31:16
Modified files:
usr.bin/ftp : cmds.c ftp.1
Log message:
- simplify mget(): remove the duplicate code and just use getit(),
as a result it can do nice things getit() does such as:
- -n: use 'newer' for transfers (fetches files that are newer on
the server, than locally), this can be used for e.g. mirroring (mget
-cnr 4.* would fetch missing files, continue interrupted transfers,
and replace newer files of 4.X dirs)
- -d: spedify depth of the recurrence. e.g. 'mget -rd 2 patches'
in pub/openbsd would fetch only archive files, not going further
into dirs
- use static restartit, max_depth instead of doing the magic
tested/requested&ok merdely@; ok pyr@, millert@
man page tweaks&ok jmc@