Scroll to navigation

ATFTP(1) General Commands Manual ATFTP(1)


atftp - TFTP client (RFC1350).


atftp [options] [host [port]]


atftp can be used interactively or in batch mode to retrieve files from TFTP servers. When used interactively, a summary of the commands can be printed by typing 'help'. This TFTP client support all basic features from RFC1350, RFC2347, RFC2348 and RFC2349. It also support multicast implementation of RFC2090 and mtftp as defined in the PXE specification.


This program supports both the usual GNU command line syntax, with long options starting with two dashes ('--') as well as short options. Some options are usable in batch mode only, they have no meaning when atftp is use interactively. A description of the options is shown below.

Non interactive invocation only. Instruct atftp to fetch a file from a tftp server.

Non interactive invocation only. Used to fetch a file from a mtftp capable server.

Non interactive invocation only. Instruct atftp to send a file to a tftp server.

Give password to tftp server. This is a non-standard extension to the atftp client necessary for Linksys routers and shouldn't be used elsewhere.

Non interactive invocation only. The client side (locat) file name to read or write. Must be used in conjunction with --get or --put.

Non interactive invocation only. The server side (remote) file name to get or put. Must be used in conjunction with --get or --put.

Number of seconds for timeout of the client. Default is 5 seconds.

Set option "name" to "value". This command supports exactly the same arguments as the interactive one. For example, use: --option "blksize 1428" to configure block size.
Possible settings are:
--option "disable blksize"
--option "blksize 8"
--option "blksize 65464"
--option "timeout 1"
--option "disable windowsize"
--option "windowsize 4"

Set mtftp possible options. Accepts the same options as the interactive mtftp command. For example, use: --mtftp "client-port 76" to configure client side port to use.

See atftpd's man page.

Address the Sorcerer's Apprentice Syndrome situation as requested by RFC 1350. This RFC requires repeated responses to a single packet to be rejected. Thus a block will only get retransmitted on a timeout. For backward compatibility, the default stays to ignore this RFC. So blocks get transmitted on every request.

Instruct atftp to be verbose. It will print more information about what's going on.

This is useful for debugging purpose to display all packet going to and from the network.

Print version.

Print a summary of command line arguments.


This manual page was written by Remi Lefebvre <> and Jean-Pierre Lefebvre <>.

December 27, 2000