當大家用FTP client, 都會見到那些status message, 而且個個都是寫那些, 如
Connecting to 192.168.18.20
STATUS:> Socket Connected. Waiting for Welcome Message...
220 xdlinux FTP server (Version wu 2.6.1 18) ready.
STATUS:> Connected. Authenticating...
COMMAND:> USER Anonymous
331 Guest login ok, send your complete e mail address as password.
COMMAND:> PASS *****
230 The response 'tests' is not valid
STATUS:> Login Successful
COMMAND:> pwd
230 Next time please use your e mail address as your password
STATUS:> Login Successful
COMMAND:> pwd
257 "/" is current directory.
STATUS:> Retrieving directory listing...
COMMAND:> PORT 192,168,18,9,4,3
257 "/" is current directory.
STATUS:> Retrieving directory listing...
COMMAND:> PORT 192,168,18,9,4,4
200 PORT command successful.
COMMAND:> LIST
200 PORT command successful.
COMMAND:> LIST
150 Opening ASCII mode data connection for directory listing.
請問如我用Inet, 可以怎樣寫呢?
創作者介紹
創作者 vbqa 的頭像
vbqa

小吳 VBQA 程式設計討論

vbqa 發表在 痞客邦 留言(0) 人氣()