[TFTP.EXE] 사용법
윈도우에 들어가 있는 tftp.exe 사용법입니다.
일단 tftp를 치면 다음과 같이 나옵니다.
----------------------------------------------------------------------------------
C:\WINDOWS>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.
----------------------------------------------------------------------------------
그리고 실행을 할 때는 다음과 같이 실행합니다.
----------------------------------------------------------------------------------
C:\WINDOWS>tftp -i 192.168.0.15 put ./[로컬파일명] /[서버저장파일명]
Transfer successful: 46688 bytes in 1 second, 46688 bytes/s
----------------------------------------------------------------------------------
ftp와는 달리 접속해서 접속을 유지한 상태에서 보내는 것이 아니라,
그때그때 파일을 전송하게됩니다.
ftp는 TCP/IP를 사용하지만, tftp는 UDP를 사용하기 때문에 신뢰성은 없습니다.
다만 프로토콜이 간단하기 때문에 구현이 간단하고, 속도가 빠르다는 장점이 있습니다.
다만 프레임이 중간에 깨질 수 있다는 단점이 있습니다.
그리고 아래 파일은 윈도우용 tftp 서버 테스트 프로그램입니다.
