TFTP命令用法

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
發佈了15 篇原創文章 · 獲贊 14 · 訪問量 11萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章