Easy Tutorial
❮ Linux File Content Manage Linux Comm Whois ❯

Linux tftp Command

Linux Command Manual

The Linux tftp command is used for file transfer.

FTP allows users to download files stored on remote hosts and upload files to remote hosts. tftp is a simple text-mode ftp program that uses similar commands to FTP.

Syntax

tftp [hostname or IP address]

Operation Instructions:

Example

Connect to the remote server "218.28.188.288" and then use the put command to download the file "README" from its root directory. The command can be used as follows:

tftp 218.28.188.288 # Connect to the remote server

After connecting to the server, you can perform the corresponding operations as follows:

$ tftp 218.28.188.228                      # Connect to the remote server  
tftp> ?                                    # Use ?, refer to help  
Commands may be abbreviated. Commands are: # Help command list  
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                                   # Exit tftp

Linux Command Manual

❮ Linux File Content Manage Linux Comm Whois ❯