Example, Mode, Examples – HP Integrity NonStop H-Series User Manual
Page 123: Example mode examples put

command-name
specifies a TFTP command. If you omit command-name, a list of all TFTP commands is displayed.
Example
In the following example, the help command requests information about the connect command:
tftp> help connect
connect to remote tftp
mode
Use the mode command to set the file transfer mode used for data transfer.
mode { [net]ascii | image | binary | octet }
[net]ascii
specifies that data is to be transferred and stored in ASCII format. This is the default mode.
image | binary | octet
specifies that data is to be transferred and stored in binary format.
You can also use the ascii and binary commands to set the file transfer mode.
Examples
Assume the verbose toggle is on. The following examples show three ways to enter the mode
command:
tftp> mode netascii
mode set to netascii
tftp> mode binary
mode set to octet
tftp> mode ascii
mode set to netascii
put
Use the put command to copy one or more local files to the remote system.
put { local-file [ [host:]remote-file ] }
{ }
{ file1 file2 ... filen [host:]remote-directory }
local-file
specifies the name of the local file to be copied. Follow the Guardian naming conventions. If
you qualify the file name when transferring the file to an operating system other than the
Guardian system, you must specify a remote file name.
host
is a host name identifying the remote system. You cannot specify a host address. See Addressing
Remote Hosts on page 1-5, in Section 1, Introduction to TCP/IP Applications and Utilities.
remote-file
specifies a name for the remote file. Specify remote-file as required by the remote system.
If you omit remote-file, TFTP uses the local-file name for the new file.
If you specify only the name of the remote file and not a full pathname, the TFTP server assumes
that the full pathname for the file is \system.$volume.subvolume.remote-file, where
\system.$volume.subvolume is the first configured subvolume for TFTPSRV.
If a remote file having the file name you specify already exists, the PUT operation succeeds
only if that remote file is secured xNxx.
Example
123