From: rick@cs.arizona.edu (Rick Schlichting)
Newsgroups: comp.research.japan
Subject: Information available for FTP [periodic posting, revised 1/5/93]
Date: 6 Jan 93 15:07:39 GMT


Articles posted to comp.research.japan of continuing interest can be 
retrieved using anonymous FTP from site cs.arizona.edu [192.12.69.5], 
directory japan.  The following summarizes what is currently available:

  -- David Kahaner's reports on computing in Japan and elsewhere in Asia,
     described in a companion posting (directory kahaner.reports.)

  -- Table of contents information from Japanese journals generated by
     the Japan CS Project, described in a companion posting (directory
     table.contents.)

  -- A list of Japanese journals related to CS, together with subscription
     information (file list.journals.)

  -- A list of email domains in Japan and hints for inferring an email
     address given a person's affiliation (file email.domains)

  -- Announcements from the U.S. National Science Foundation for programs 
     related to japan (directory nsf.)

  -- japan.inf, a document describing how Japanese text is handled 
     electronically written by Ken Lunde of Abobe Systems (file
     japanese/japan.inf.)

  -- Information on Japanese <-> English translators and related matters,
     somewhat dated (file japanese/translator.info.)
 
  -- This collection of periodic informational postings (directory
     periodic.postings.)

USING THE FTP MAIL SERVER:

For individuals without direct FTP connections to the Internet, an FTP
mail server allows files to be retrieved automatically using electronic
mail.  Instructions on how to use the facility are included below in the 
form of a UNIX-style man page.

=======================================================================


FTPMAIL(L)               LOCAL COMMANDS                FTPMAIL(L)



NAME
     ftpmail - FTP access via electronic mail

SYNOPSIS
     mail ftpmail@cs.arizona.edu

DESCRIPTION
     ftpmail gives any person with email connectivity  access  to
     the   University  of  Arizona  Computer  Science  Department
     anonymous ftp site.  ftpmail takes a script contained in the
     body  of  an email message and follows it to obtain listings
     and transfer files from a remote network site.  The  subject
     line  of  the message is ignored.  Large files will be split
     into manageable chunks, each of which will be mailed to  the
     user.   Binary  files  will  be made suitable for email with
     either uuencode or btoa.

COMMANDS
     Valid commands to the ftpmail server are:

     reply-to email-address
          Who to send the response to.  Defaults to your incoming
          email address.

     help
          Send  this  help  file.   All  other  instructions  are
          ignored.

     open [ site [ user [ pass ] ] ]
          The open command is mandatory.  Only cs.arizona.edu can
          be  accessed from this server, but it must be specified
          as the site to log in as any user other than anonymous.
          User  and  password  can  be  specified  for users with
          accounts    on    cs.arizona.edu.      Defaults     are
          cs.arizona.edu, anonymous, reply-to address.

     cd pathname
          change directory

     ls [ pathname ]
          get short listing  of  pathname  (defaults  to  current
          directory).

     ls -lR [ pathname ]
          long recursive listing of pathname (defaults to current
          directory).

     dir [ pathname ]
          long listing of pathname defaults to current directory.

     get pathname
          get a file and email back to user.

     compress
          compress files and directory listings using compress(1)
          before emailing back to user.

     btoa | uuencode
          These are mutually exclusive options for  converting  a
          binary file before emailing. Default is uuencode(1).

     force btoa | uuencode
          Force all files or directory  listings  to  be  encoded
          before sending back.  There is no default.

     mode ascii | binary
          Set the mode selected for the get command.  Defaults to
          binary.

     quit
          End of input - ignore any following lines.

EXAMPLES
     Connect to cs.arizona.edu and send back a  long  listing  of
     the top level of the ftp directory.
          open
          dir
          quit

     Connect to cs.arizona.edu and send back the files email.domains and
     list.journals from the japan directory to lmjm@doc.ic.ac.uk
          reply-to lmjm@doc.ic.ac.uk
          open
          cd japan
          get email.domains
          get list.journals
          quit

     Connect to cs.arizona.edu, send back the file TR91-14.ps.Z in the
     reports/1991 directory.  As this is a binary file it has to be transferred
     in binary mode.  Because it is binary it will automatically
     be uuencoded (the default binary encoder).  Then change to ../../icon
     and mail back a compressed directory listing.  Although compressing ls
     output makes it binary, which then has to be encoded, it still ends up
     smaller than the original.
          open
          cd reports/1991
          get TR91-14.ps.Z
          cd ../../icon
          compress
          ls -ltra
          quit

SEE ALSO
     ftp(1C), ls(1V),

BUGS
     Whatever are inherent in mail, perl (ftpmail is  written  in
     perl) and ftp, and probably others.



Sun Release 4.1      Last change: 4 Nov 1992                    3

-------------------------------------------------------------------------
Rick Schlichting, Associate Professor           (rick@cs.arizona.edu) 
Dept of Computer Science,  The University of Arizona
-------------------------------------------------------------------------