root@hbg:/# tftp
BusyBox v1.22.1 (2015-12-18 15:33:52 CST) multi-call binary.

Usage: tftp [OPTIONS] HOST [PORT]

Transfer a file from/to tftp server

        -l FILE Local FILE           本地文件
        -r FILE Remote FILE      远程文件
        -g      Get file               获取文件
        -p      Put file               送出文件

 

根据tftp的用法,都是在设备上进行操作

从本地上传一个文件到设备的用法:

tftp -g -r filename   IP        

eg:     tftp -g -r   ath.ko 192.168.1.155

从设备上取出文件到本地的用法:

tftp -l -p  filename  IP

eg:    tftp -l -p ath.ko 192.168.1.155

 

相关文章:

  • 2021-12-31
  • 2021-11-13
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-11-14
猜你喜欢
  • 2021-04-13
  • 2022-12-23
  • 2021-11-05
  • 2021-07-01
  • 2021-10-12
  • 2022-12-23
  • 2021-12-19
相关资源
相似解决方案