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