OS Manuals

/usr/bin/tftp

TFTP client (H. Peter Anvin's tftp-hpa)

From tftp-hpa-client 7.2-r2 (enterprise-packages), captured 2026-11-08 by running tftp --help (exit 0). permalink

Usage: tftp [options] [host [port]] [-c command...]
  Options:
    -V, --version              print version number and exit
    -h, --help                 print this help text and exit
        --help=command         print the help text for "command" and exit
    -4. --ipv4                 only use IPv4, no IPv6
    -6. --ipv6                 only use IPv6, no IPv4
    -v, --verbose              increase logging verbosity
    -l, --literal              disable host:path syntax
    -m, --mode mode            set the transfer mode (netascii, octet)
    -a, --ascii                alias for --mode netascii
        --netascii             alias for --mode netascii
        --text                 alias for --mode netascii
    -b, --binary               alias for --mode octet
        --octet                alias for --mode octet
    -R, --port-range min:max   use emhermeral ports in the given range
    -B, --blocksize size       set the requested transfer block size
    -W, --windowsize size      set the requested transfer window size
    -T, --no-tsize             disable sending the tsize TFTP option
    -N, --no-options           disable sending any TFTP options
    -U, --unsafe               allow multihomed server address changes
    -c, --command command      execute "command", then exit (must be last)
    -c, --command help         get a list of available commands
Options (19)
OptionDescriptionSource
-V, --versionPrint the version number and configuration to standard output, then exit gracefully.help + man
-h, --helpprint this help text and exithelp
-4, --ipv4 --ipv4Connect with IPv4 only, even if IPv6 support was compiled in.help + man
-6, --ipv6 --ipv6Connect with IPv6 only, if compiled in.help + man
-v, --verboseincrease logging verbosityhelp
-l, --literaldisable host:path syntaxhelp + man
-m, --mode modeset the transfer mode (netascii, octet)help + man
-a, --asciiEquivalent to “--mode netascii”.help + man
--netasciialias for --mode netasciihelp
--textalias for --mode netasciihelp
-b, --binaryEquivalent to “--mode octet”.help + man
--octetalias for --mode octethelp
-R, --port-range min:maxForce the originating (local) port number to be in the specified range of port numbers.help + man
-B, --blocksize sizeSpecifies the maximum permitted block size.help + man
-W, --windowsize, -w sizeRequest the RFC 7440 windowsize option.help + man
-T, --no-tsizeDisable the sending of the RFC 2349 tsize (transfer size) option.help + man
-N, --no-optionsDo not request any TFTP options, for maximum compatibility with old servers.help + man
-U, --unsafeAllow a TFTP response to come from a different address than the server address to which the request was sent.help + man
-c, --command commandExecute command as if it had been entered on the tftp prompt.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.