packages icon
"getit" is a short C program which uses anonymous FTP to retrieve a
file specified on the command line.  To use it, run getit as:
   getit host:path/file 
-or-
   getit path/file@host
-or-
   getit ftp://host/path/file  (That's the URC format used by World Wide Web)

For example, this file is available via anonymous FTP using
   getit contrib/getit.tar.Z@export.lcs.mit.edu
which can also be written as
   getit export.lcs.mit.edu:contrib/getit.tar.Z
or as
   getit ftp://export.lcs.mit.edu/contrib/getit.tar.Z

"lsit" is a short C program which uses anonymous FTP to list the
directory specified on the command line.  To use it, run lsit as:
   lsit host[:path[/file]]
-or-
   lsit [path[/file]]@host
-or-
   lsit ftp://host[/path[/file]]  (That's the URC format used by World Wide Web)

The "file" name can contain a wildcard character, '*'.  For example, to
list the contrib directory on export.lcs.mit.edu:
   lsit contrib@export.lcs.mit.edu
which can also be written as
   lsit export.lcs.mit.edu:contrib/\*
or as
   lsit ftp://export.lcs.mit.edu/contrib

To list only the "getit" files in the contrib directory on export.lcs.mit.edu:
   lsit export.lcs.mit.edu:contrib/getit\*

(You'll need to quote the wildcard to prevent your local UNIX system
from globbing it.)

To "make" the UNIX version of lsit, simply use "cc -o lsit lsit.c"

Ken Jenks
Space Shuttle Program Office
NASA Lyndon B. Johnson Space Center
Houston, Texas
(713) 483-4368
kjenks@gothamcity.jsc.nasa.gov