Transferring Files Across the Network

The Telnet and rlogin commands provide a way for a remote user to access system resources, but not an effective way to transfer files across the network. These deficiencies are alleviated through the operation of the File Transfer Protocol (FTP).

The following section examines the operation of FTP and illustrates how it can be used to transfer files between UNIX hosts. FTP can operate both from the command line and interactively. Start by looking at using it interactively.

Starting FTP

Log on to UNIX as any user, but not to the root account. At a shell prompt, enter the command ftp and press Enter.
The ftp program will drop into Command mode and offer the prompt ftp>. Type in the word open, and press ...

Get Practical UNIX now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.