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.
-g,--get
Non interactive invocation only. Instruct atftp to fetch a file from a tftp server.
--mget Non interactive invocation only. Used to fetch a file from a mtftp capable server.
-p,--put
Non interactive invocation only. Instruct atftp to send a file to a tftp server.
-P,--password
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.
-l,--local-file
Non interactive invocation only. The client side (locat) file name to read or write. Must be used
in conjunction with --get or --put.
-r,--remote-file
Non interactive invocation only. The server side (remote) file name to get or put. Must be used in
conjunction with --get or --put.
--tftp-timeout<value>
Number of seconds for timeout of the client. Default is 5 seconds.
--option<"namevalue">
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 "blksize disable"
--option "blksize 8"
--option "blksize 65464"
--option "timeout 1"
--option "tsize enable"
--option "tsize disable"
--option "windowsize disable"
--option "windowsize 4"
--option "multicast"
--mtftp<"namevalue">
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.
--no-source-port-checking
See atftpd's man page.
--prevent-sas
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.
--verbose
Instruct atftp to be verbose. It will print more information about what's going on.
--trace
This is useful for debugging purpose to display all packet going to and from the network.
-V,--version
Print version.
-h,--help
Print a summary of command line arguments.