- 命令1:
tftp -pl test.txt 192.168.1.101
该命令可以把tftp客户端目录下的test.txt文件上传到tftp服务端, 其中的192.168.1.101是服务端ip, p是put, l是local
- 命令2:
tftp -gr test.txt 192.168.1.101
该命令可以把tftp服务端目录下的test.txt文件下载到tftp客户端, 其中的192.168.1.101是服务端ip, g是get, r是remote
192.168.50.59是计算机的IP地址
1、 tftp -pl test01.txt 192.168.50.59 (-p 推送)
2、 tftp -gr codec.h 192.168.50.59 (-g 获取)
3、 tftp -gr tc_port 192.168.50.59