TFTP命令用法

时间:2025-03-24 09:21:23
Usage: tftp [OPTION]... HOST [PORT]
Transfer a file from/to tftp server using "octet" mode
Options:
  -l FILE Local FILE
  -r FILE Remote FILE
  -g Get file
  -p Put file
  -b SIZE Transfer blocks of SIZE octets

-l FILE Local FILE 本地
-r FILE Remote FILE 远程
-g Get file 下载远程到本地
-p Put file 上传本地到远程

例如:服务器上有个文件,下载下来保存为
tftp -g -r -l 192.168.1.1
将本地的上传到服务器,在服务器上保存名字为
tftp -p -r -l 192.168.1.1