English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux tftp command is used for file transfer.
FTP allows users to download files stored on a remote host and also upload files to be placed on a remote host. Tftp is a simple text mode ftp program, its commands are similar to FTP.
tftp [host name or IP address]
Operation instructions:
connect: connect to a remote tftp server
mode: file transfer mode
put: upload file
get: download file
quit: exit
verbose: display detailed processing information
trace: display packet path
status: display current status information
binary: binary transmission mode
ascii: ascii transmission mode
rexmt: set the timeout for packet transmission
timeout: set the timeout for retransmission
help: help information
? : help information
Connect to a remote server218.28.188.288", then use the put command to download the file "README" under the root directory, you can use the following command:
tftp 218.28.188.288 #Connect to a remote server
After connecting to the server, you can perform the corresponding operations, as follows:
$ tftp 218.28.188.228 #Connect to a remote server tftp> ? # Use ?, refer to help Commands may be abbreviated. Commands are: #list of help commands connect connect to remote tftp mode set file transfer mode put send file get receive file quit exit tftp verbose toggle verbose mode trace toggle packet tracing status show current status binary set mode to octet ascii set mode to netascii rexmt set per-packet retransmission timeout timeout set total retransmission timeout ? print help information tftp>get README #Download README file remotely getting from 218.28.188.288 to /home/cmd Received 168236 bytes in 1.5 seconds[112157 bit/s] tftp>quit #Leave tftp