วันนี้มีโอกาศได้ทำงานเกียวกับ TFTP ก็เลยงงนิดหน่อย เลยต้องหาความรู้เพิ่มเติม ขอเขียน สรุปไว้ตามนี้
TFPT ย่อมาจาก Trivial File Transfer Protocol
TFTP มีไว้ทำอะไร TFTP ไว้ส่งไฟล์ไปยังอีกที่หนึ่ง ที่ไม่ต้องการความปลอดภัย
การใช้งาน TFTP
TFTP [-i] host [GET | PUT] source [destination]
-i คือ ถ้าระบุก็จะส่งข้อมูลในระบบ binar
host คือ ip ของ ปลายทาง ที่เราต้องการส่งไฟล์ไป
[GET | PUT] คือ ถ้า GET เราเอาไฟล์จาก host มายัง เครื่องของเรา
PUT คือ นำไฟล์จากเครืองเราไปยัง Host
source [destination] คือ ชื่อไฟล์
ตัวอย่างการใช้งาน
C:\>tftp -i 192.168.1.1 put xxxxx.bin
Transfer successful: 4243038 bytes in 11 seconds, 385730 bytes/s
ที่มา จาก DOS
C:\>tftp
Transfers files to and from a remote computer running the TFTP service.
TFTP [-i] host [GET | PUT] source [destination]
-i Specifies binary image transfer mode (also called octet). In binary image mode the file is moved
literally, byte by byte. Use this mode when transferring binary files.
host Specifies the local or remote host.
GET Transfers the file destination on the remote host to the file source on the local host.
PUT Transfers the file source on the local host to the file destination on the remote host.
source Specifies the file to transfer.
destination Specifies where to transfer the file.
Related