Article View: comp.sys.amiga.uucp
Article #107Re: How to use the UUCP-command?
From: Michael B. Smith
Date: Sun, 22 Oct 1995 17:46
Date: Sun, 22 Oct 1995 17:46
155 lines
5481 bytes
5481 bytes
In article <R.Moeskops.11.000A2B56@ft.hse.nl> R.Moeskops@ft.hse.nl (Richard Moeskops) writes: > I would like to copy files using the UUCP-command to a friend of mine. Can > someone give me an example how to copy a file from user > richard@gremlin.iaehv.nl to user jeroen@huitink.iaehv.nl. iaehv.nl is our > internetprovider 'gremlin' and 'huitink' are our personal site names. > Should there be special settings in the UULIB:config ? The UUCP command is meant to copy from one host to another host, exactly one hop away. The man page is below. -- // Michael B. Smith \X/ mbs@adastra.cvl.va.us NAME UUCP - Unix to Unix Copy Program SYNTAX UUCP [-cCdfjmr] [-g grade] [-n user] [-u user] source dest DESCRIPTION The UUCP command copies a file named by "source" to "dest"; one of the two is a local file, the other is on another remote machine. For example: uucp fubar system!~/fubar send a file uucp system!~/fubar fubar request a remote file ~/path is interpreted as UUPub:path for an Amiga. ~user/path is interpreted as the directory prefix for the specified user on the machine in question (yours or the remote's). If an Amiga, the user must exist in the GETTY:PASSWD file. The directory prefix is part of the PASSWD entry for each user. ~uucp is interpreted just like ~user ... you must have a password entry for the 'uucp' user for it to work. Remember that a ~/ or ~user/ in the REMOTE path is interpreted by the remote machine, not your machine. Additionally, for the Amiga, the local directory must have appropriate permissions as specified by UULib:Security, or the transfer will not be allowed. Shell metacharacters appearing in the pathname part are not understood by the Amiga, but may be understood by the remote machine. OPTIONS -c When specified, this option indicates that a copy of the local file should not be placed in the spool directory. This is the default for AmigaUUCP. -C When specified, this option indicates that the UUCP command should create a copy of a local file being transferred. This copy is placed in the UUSpool directory, where it is removed after the transfer is complete. Normally, AmigaUUCP does not make a copy of the file, and if the file is renamed or removed, the transfer will fail. -d When specified, this option indicates that all necessary directories should be created on the receiving machine by the receiving UUCICO. This is the default. -f When specified, this option indicates that if a required directory does not exist on the receiving machine, that the transfer should be aborted. -g grade This option controls the priority with which the request is executed by UUCICO. Valid grades are 0-9, A-Z, and a-z. Files are transferred by UUCICO in that order. The default grade for the UUCP command is "A". Other commands have other defaults. -I config This option is for Taylor UUCP compatibility. The option is ignored. -j When specified, the UUCP command will print out the jobid of the transfer request. Using the UUSTAT command, the user may request that the transfer be cancelled (-k switch). -m When specified, the remote UUCICO is requested to send mail to the transferring user when the transfer is complete. -n addr When specified, the remote UUCICO is requested to send mail to the named address when the transfer is complete. This address may be different user than the default user; and must be a valid address on the remote machine. -r This option normally means that UUCICO should not be started immediately. This is the normal action on the Amiga. -u user This option controls the username specified as sending the UUCP request. By default, this comes from the UserName configuration variable in UULib:Config. -x opts This option is for Taylor UUCP compatibility. The 'opts' are ignored. CONFIGURATION OPTIONS NodeName string UserName string UseSubDirs Y/N UUSpool string NOTE By default, UUCP builds the command file in the UUSpool directory (or the alternate that may be specified in the UULib:Config file). To have UUCP place files in a separate directory for each system, the UseSubDirs configuration option must be set. WARNINGS The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted. You will very likely not be able to fetch files by pathname. Ask a responsible person on the remote system to send them to you. For the same reasons, you will probably not be able to send files to arbitrary pathnames. On the Amiga, security is accomplished with the UULib:Security file, please refer to UUMan:Security for more information. FILES UULib:Config UULib:Seq UUSpool: UUSpool:<system-name>/<various>
Technical Details
Message-ID:
<mbs.439a@adastra.cvl.va.us>Path:
arc1-ca.pugleaf.net!hearst.acc.Virginia.EDU!adastra!mbsReferences:
<R.Moeskops.11.000A2B56@ft.hse.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!hearst.acc.Virginia.EDU!adastra!mbs Newsgroups: comp.sys.amiga.uucp From: mbs@adastra.cvl.va.us (Michael B. Smith) Subject: Re: How to use the UUCP-command? Distribution: world References: <R.Moeskops.11.000A2B56@ft.hse.nl> X-NewsReader: GRn 3.0b17 October 22, 1995 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <mbs.439a@adastra.cvl.va.us> Date: Sun, 22 Oct 95 13:46:38 EDT Organization: Only if you insist...