Internet Services ARPA (Communication among Systems w/ Different OS)

File Transfer Protocol (ftp)Transfer a file, or multiple files, from one system to another. This is often used when transferring files between a UNIX workstation and a Windows PC, VAX, etc. The following example shows copying the file /tmp/krsort.c from system2 (remote host) to the local directory on system1 (local host):
 Comments
$ ftp system2Issue ftp command
Connected to system2. 
system2 FTP server (Version 4.1) ready. 
Name (system2:root): rootLog in to system2
Password required for root. 
Password:Enter password
User root logged in. 
Remote system type is UNIX. 
Using binary mode to transfer files. 
ftp> cd /tmpcd to /tmp on system2
CWD command successful 
ftp> get krsort.cGet krsort.c ...

Get HP-UX 11i System Administration Handbook and Toolkit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.