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 上传本地到远程
例如:服务器上有个文件1.txt,下载下来保存为2.txt
tftp -g -r 1.txt -l 2.txt 192.168.1.1
将本地的2.txt上传到服务器,在服务器上保存名字为3.txt
tftp -p -r 3.txt -l 2.txt 192.168.1.1
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 上传本地到远程
例如:服务器上有个文件1.txt,下载下来保存为2.txt
tftp -g -r 1.txt -l 2.txt 192.168.1.1
将本地的2.txt上传到服务器,在服务器上保存名字为3.txt
tftp -p -r 3.txt -l 2.txt 192.168.1.1