HP-UX System Administrator's Guide: Configuration Management

Configuring HP-UX Systems for File Transfer
Transferring files between computers is a common workgroup activity. When you’re
mixing HP-UX systems and PCs in a workgroup, network transfers are usually the
most efficient, and sometimes the only, way to transfer files from one type of system
to another. Many HP-UX systems are not equipped with floppy disk drives, and many
PCs are not equipped with DDS drives or other external file storage peripherals often
found on HP-UX systems.
FTP (File Transfer Protocol)
One of the utilities/protocols common to both Windows NT and HP-UX systems is FTP
(file transfer protocol). FTP is a client/server protocol. The FTP client is the program
you run on your local system to communicate with the FTP server on the remote system.
FTP Client Software
On HP-UX systems, the FTP client is the program /usr/bin/ftp. On Microsoft's
Windows operating systems you start the FTP client by issuing the ftp command from
the command prompt.
FTP Server Software
Shipped as part of Windows operating systems for PCs (but not necessarily installed
initially) are a group of utilities collectively known as the “Microsoft Peer Web Services.”
One of the services in this collection is an “FTP publishing service” that enables you
to ftp files to and from your PC while sitting at one of your HP-UX systems. This
service is the FTP server that runs on your PC. On HP-UX systems, the FTP server is
the ftpd daemon, started as needed by the inetd daemon when FTP requests come
in from clients on other systems.
As the name implies, file transfer protocol is used to transfer files from one system to
another. Transferring files from one computer to another is a two-stage process. You
must first establish a connection with, and log in to, the remote computer; then, you
must locate and transfer the files you want to move to or from the remote computer.
Establishing an FTP Connection from HP-UX to a PC
NOTE: See also “Establishing an FTP Connection from a PC to HP-UX” (page 99).
Before starting the following procedure, make sure FTP is set up for the kind of access
you need. The default is to allow only anonymous access. If you want to allow individual
user access, you can do this with the Internet Services Manager on your PC.
1. On your HP-UX system, start the FTP utility by entering the command:
# /usr/bin/ftp
2. Open a connection to your PC using ftps open command:
Configuring File Transfer Protocol (FTP) 91