When using TCP/IP to copy files, you can use this procedure
to copy files from a remote host.
- To establish a connection to a remote host, type:
In this example, host1
is the name of the host to
which you wish to connect.
The tftp>
prompt is
displayed.
- To determine that a connection has been established, type:
A message similar
to the following is displayed:
Connected to host1
Mode: netascii Verbose: off Tracing: off
Remxt-interval: 5 seconds, Max-timeout: 25 seconds
tftp>
- Enter the get subcommand, the name
of the file to be transferred, and the name to be assigned to the file on
the remote system:
get /home/alice/update update
The /home/alice
directory on the remote host must have
read permission set for other users. In this example, the /home/alice/update
file
is transferred from host1
to the update file
in the current directory on the local system.
- To end the session, type:
quit
or
press the Ctrl-D key sequence.