[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

System User's Guide: Communications and Networks


How to Use the uuto and uupick Commands to Exchange Files

Prerequisites

The sending and receiving systems must be running either Basic Networking Utilities (BNU) or some version of the UNIX-to-UNIX Copy Program (UUCP).

Procedure

This procedure describes sending and receiving a file using the uuto and uupick commands. This procedure also describes the options for receiving a file.

To Send a File with uuto

The uuto command sends a file. Include the file to be sent, the remote system destination, and the user at the destination. For example:

uuto /home/bin/file1 distant!joe

This sends file1 from the local /home/bin directory to user joe on the remote system distant.

The uuto command runs under the uucp command. The file is transferred to the remote system, in /var/spool/uucppublic. The file is deposited in the /var/spool/uucppublic/receive/user/System directory on the remote system. If the target directory does not exist, it is created during the file exchange.

The BNU rmail command notifies the receiver that a file has arrived.

Note: To send a file to a user on a local system, enter the uuto command. Include the file to be sent, the local system destination, and the user at the local destination. For example:

uuto /home/bin/file2 near!nick 

This sends file2 from the local /home/bin directory to user nick on the local system near.

To Receive a File with uupick

To receive a file, type:

uupick

The uupick command searches the public directory for files that include the remote user ID in the path names. The uupick command then displays on the remote screen a message similar to:

from system base: file file1?

The ? (question mark) on the second line of the notification display prompts the receiver to use any uupick options for handling files in BNU's public directory.

uupick Options

For a list of all available options, enter an * (asterisk) on the line below the ? (question mark) prompt. The display, save, and quit options are:

p Displays the contents of the file.
m [Directory] Saves the file to the directory specified by the [Directory] variable. If no destination is given with the m option, the file is moved to the current working directory.
q Quits (exits) from the uupick file-handling process.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]