Topsy windows/linux tftp command

Source: Internet
Author: User

TFTP is very well understood, mainly used to transfer files, the following in my operation to talk about the most important of the TFTP commands.

One. SFTP command on Windows (it is said to be the same on Linux, of course, this refers to non-embedded Linux)

Steps:

A. Open the SFTP server Tftpd32.exe on Windows and select a default directory as the server root, at which point the Tftpd32.exe automatically reads the IP of the PC, which is the IP of the TFTP server, such as 192.168.1.101

B. In cmd in Windows, there is a TFTP command to switch to a corresponding directory, then this directory can actually be understood as the client root directory.

Command 1:tftp 192.168.1.101 put test.txt the command can upload the TFTP client directory Test.txt file to the TFTP server, where the 192.168.1.101 is the service side IIP, put represents the upload.

Command 2:tftp 192.168.1.101 get test.txt the command can download the Test.txt file from the TFTP server directory to the TFTP client, where 192.168.1.101 is the server side IIP and get represents the download.

I just tried it, so that's it!

Two. SFTP command on embedded device Linux

Steps:

A. Open the SFTP server Tftpd32.exe on Windows and select a default directory as the server root, at which point the IP of the PC is automatically read on Tftpd32.exe, which is the IP of the TFTP server, such as 192.168.1.101

B. In the embedded Linux shell, there is a TFTP command (assuming support), switch to a corresponding directory, then this directory can actually be understood as the client root directory.

Command 1:TFTP-PL test.txt 192.168.1.101 the command can upload the TFTP client directory Test.txt file to the TFTP server, where the 192.168.1.101 is the server IP, p is put, L is the local

Command 2:tftp-gr test.txt 192.168.1.101 the command can download the TFTP server directory Test.txt file to the TFTP client, where the 192.168.1.101 is the server IP, g is GET, R is the remote

I've tried it, so. And I often use command 1 to remove files from embedded devices and put them on Windows for analysis

Topsy windows/linux tftp command

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.