Linux command
tftp 命令
网络
复制后可按需替换文件名、目录或参数。
常用示例
Connect
tftp [server_ip] [port]
Example
tftp [server_ip] -c [command]
Example
tftp [server_ip] -6 -R [port:port]
Example
mode [binary|ascii]
Download
get [file]
Upload
put [file]
Exit
quit
说明
tftp is a client for the Trivial File Transfer Protocol, a simple protocol for transferring files without authentication. TFTP operates over UDP and is commonly used for network booting (PXE) and firmware updates.
参数
- -c _COMMAND_
- Execute TFTP command and exit
- -6
- Use IPv6
- -R _PORT:PORT_
- Force originating port range
- -4
- Use IPv4 only
- -v
- Verbose output
- -V
- Print version and configuration, then exit
- -l
- Default to literal mode (no special processing of ':' in filenames)
FAQ
What is the tftp command used for?
tftp is a client for the Trivial File Transfer Protocol, a simple protocol for transferring files without authentication. TFTP operates over UDP and is commonly used for network booting (PXE) and firmware updates.
How do I run a basic tftp example?
Run `tftp [server_ip] [port]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _COMMAND_ do in tftp?
Execute TFTP command and exit