TFTP(1C) — USER COMMANDS
NAME
tftp − trivial file transfer program
SYNOPSIS
tftp [ host ]
DESCRIPTION
Tftp is the user interface to the Internet TFTP (Trivial File Transfer Protocol), which allows users to transfer files to and from a remote machine. The remote host may be specified on the command line, in which case tftp immediately establishes a connection to the TFTP server on that host. Otherwise, tftp awaits connect instructions from the user.
An account or password on the remote machine is not required. Due to lack of authentication information, tftp is only able to access publicly readable files. Search permissions of directories leading to accessed files are not checked.
COMMANDS
Once tftp is running, it issues the prompt tftp> and recognizes the following commands:
connect host-name [ port ]
Set the host (and optionally port) for transfers. Note that the TFTP protocol, unlike the FTP protocol, does not maintain connections betweeen transfers; thus, the connect command does not actually create a connection, but merely remembers what host is to be used for transfers. You do not have to use the connect command; the remote host can be specified as part of the get or put commands.
mode transfer-mode
Set the mode for transfers; transfer-mode may be one of ascii, binary, or mail. The default is ascii.
put file ... destination
Put a file or set of files to the specified destination. Destination can be in one of two forms: a filename on the remote host, if the host has already been specified, or a string of the form host:filename to specify both a host and filename at the same time. If the latter form is used, the hostname specified becomes the default for future transfers.
get source ... file
Get a file or set of files from the specified sources. Source can be in one of two forms: a filename on the remote host, if the host has already been specified, or a string of the form host:filename to specify both a host and filename at the same time. If the latter form is used, the last hostname specified becomes the default for future transfers.
quit Exit tftp.
verbose
Toggle verbose mode. Has no effect.
trace Toggle packet tracing.
status
Show current status.
rexmt retransmission-timeout
Set the per-packet retransmission timeout, in seconds.
timeout total-transmission-timeout
Set the total transmission timeout, in seconds.
? [ command-name ... ]
Print help information.
BUGS
The verbose command has no effect.
Sun Release 3.0β — Last change: 21 August 1985