Subject: Re: serving up as text?

From: [email-masked] (Dan Krause)
Date: Mon, 1 Apr 1996 01:39:07 -0600

Our Linux version doesn't have this man page, so I took it from SunOS.
It should apply to most systems running some flavor of UNIX, hope it helps.

NETRC(5)                  FILE FORMATS                   NETRC(5)

NAME
     netrc - file for ftp remote login data

DESCRIPTION
     The .netrc file contains data for logging  in  to  a  remote
     host  over  the network for file transfers by ftp(1C).  This
     file resides in the user's home  directory  on  the  machine
     initiating the file transfer.  Its permissions should be set
     to disallow read access by group and others (see chmod(1V)).

     The following tokens are recognized; they may  be  separated
     by SPACE, TAB, or NEWLINE characters:

     machine name
          Identify a remote machine name.  The auto-login process
          searches  the  .netrc  file  for  a  machine token that
          matches the remote machine specified on the ftp command
          line  or  as an open command argument.  Once a match is
          made, the subsequent .netrc tokens are processed, stop-
          ping  when  the EOF is reached or another machine token
          is encountered.

     login name
          Identify a user on the remote machine.  If  this  token
          is  present,  the  auto-login  process  will initiate a
          login using the specified name.

     password string
          Supply a password.   If  this  token  is  present,  the
          auto-login  process will supply the specified string if
          the remote server requires a password as  part  of  the
          login  process.   Note: if this token is present in the
          .netrc file, ftp will abort the auto-login  process  if
          the .netrc is readable by anyone besides the user.

     account string
          Supply an additional account password.  If  this  token
          is  present,  the  auto-login  process  will supply the
          specified string if the remote server requires an addi-
          tional account password, or the auto-login process will
          initiate an ACCT command if it does not.

     macdef name
          Define a macro.  This token functions as the ftp macdef
          command  functions.  A macro is defined with the speci-
          fied name; its contents begin with the next .netrc line
          and  continue  until  a  null line (consecutive NEWLINE
          characters) is encountered.  If a macro named  init  is
          defined,  it is automatically executed as the last step
          in the auto-login process.

EXAMPLE
     The command:

          machine ray login demo password mypassword

     allows an autologin to the machine ray using the login  name
     demo with password mypassword.

FILES
     ~/.netrc

SEE ALSO
     chmod(1V), ftp(1C), ftpd(8C)

---

From: [email-masked] (Bill Campbell)
Date: Mon, 1 Apr 1996 07:07:34 -0800 (PST)

>NETRC(5)                  FILE FORMATS                   NETRC(5)
....

This same information is available (with extensions) with the ncftp
ftp client which is a much friendlier program than vanilla ftp.

Bill
--
INTERNET:   [email-masked]  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 2835 82nd Avenue S.E. S-100
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.
		-- Johnny Hart