Linux tftp command details how to use Linux tftp command

Source: Internet
Author: User

FTP allows users to download files stored on the remote host and upload files to the remote host. Tftp is a simple text-mode ftp program, which uses commands similar to FTP.

Syntax

Tftp [host name or IP address]

Operation instructions:

  • Connect: connect to the remote tftp server
  • Mode: file transmission mode
  • Put: upload files
  • Get: download an object
  • Quit: exit
  • Verbose: displays detailed processing information
  • Tarce: Display package path
  • Status: displays the current status.
  • Binary: binary transmission mode
  • Ascii: ascii transfer mode
  • Rexmt: Set the packet transmission timeout.
  • Timeout: set the retransmission timeout.
  • Help: help information
  • ? : Help information

Instance

Connect to the remote server "218.28.188.288", and then use the put command to download the file "README" in the root directory. The command is as follows:

Tftp 218.28.188.288 # connect to the remote server

After connecting to the server, you can perform the following operations:

$ Tftp 218.28.188.228 # connect to the remote server

Tftp>? # Use ?, Reference Help

Commands may be abbreviated. Commands are: # HELP command list

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 # remote download of README files

Getting from 218.28.188.288 to/home/cmd

Recived 168236 bytes in 1.5 seconds [112157 bit/s]

Tftp> quit # exit tftp

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.