HPlogo Installing and Administering Internet Services: HP 9000 Networking > Chapter 5 Configuring TFTP and BOOTP Servers

Command Options for Using TFTP

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

Internet Services includes a TFTP client implementation, /usr/bin/tftp. You can use this client to verify that your TFTP server is working correctly. For example, to retrieve the file bootf from the TFTP server duncan, enter the following:

/usr/bin/tftp duncan

At the tftp prompt, enter:

get bootf

Table 5-3 “tftp File Transfer Options” describes the most common tftp commands you can use when transferring files. For information on the other tftp options, type man 1 tftp.

Table 5-3 tftp File Transfer Options

ascii

Sets the TFTP file transfer type to ASCII. This is the default type.

binary

Sets the TFTP file transfer type to binary.

get remote_file [local_file]

Copy remote_file to local_file. If local_file is unspecified, tftpd uses the specified remote_file name as the local_file name. If local_file is specified as "-", the remote file is copied to standard output.

put local_file [remote_file]

Copy local_file to remote_file. If remote_file is unspecified, tftpd assigns the local_file name to the remote_file name.

verbose

When verbose is on, tftpd displays responses from the server host. When verbose is on and a file transfer completes, tftpd reports information about the efficiency of the transfer. Enter the verbose command at the tftpd> prompt to turn the verbose setting on or off.

 

© 2000 Hewlett-Packard Development Company, L.P.