[INTERFACE]/WIZNET_EVM2007. 11. 9. 11:18

FTP Client 테스트

AVR mega128 + W5100을 이용한 FTP 클라이언트 예제 테스트

FTP클라이언트로 호스트의 파일을 받아오는 예제를 작성해서 테스트 했다.
================================================
       Net Config Information
================================================
MAC ADDRESS      : 0x00.0x08.0xDC.0x00.0x00.0x00
SUBNET MASK      : 255.255.255.0
G/W IP ADDRESS   : 192.168.1.94
LOCAL IP ADDRESS : 192.168.1.92
================================================
Enter FTP server IP : 192.168.1.91
connected 192.168.1.91
220 ALFTP Server ready.  ^-^)/~
Enter user name: admin
331 Password required for admin.
Password: 1234
230 User admin logged in.
ftp> dir
200 Port command successful.
150 Opening data connection for directory list.
-rwxrwxrwx   1 ALFtp    ALFtp       81439 Nov 23 20:02 ftpc.hex
ftp: 65 bytes received
ftp> get ftpc.hex
226 File sent ok
200 Port command successful.
:100000000C948A000C94A7000C94A7000C94A700F1
:100010000C94A7000C94350C0C94A7000C94A7002A
:100020000150 Opening data connection for ftpc.hex.
C94A7000C94A7000C94A7000C94A700B4
:100030000C94A7000C94A7000C94A7000C94A700A4
:100040000C94A7000C94A7000C945F0C0C94A700D0
:100050000C94A7000C94A7000C94A7000C94A70084
:100060000C94A7000C94A7000C94A7000C94A70074
:100070000C94A7000C94A7000C94A7000C94A70064
:100080000C94A7000C94A7000C94A7005072657301
:100090007320274327204B657920546F20436F6ED0
:1000A00066696775726174696F6E2E0D0A000D0ABC

Posted by nexp
TAG ,

댓글을 달아 주세요