2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-05-22 06:38:19 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
ACCT
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2005-01-26 06:13:12 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
data
|
|
|
|
to
|
|
|
|
see
|
|
|
|
that FTP
|
|
|
|
works
|
|
|
|
so does it?
|
|
|
|
</data>
|
2007-04-19 04:22:01 +08:00
|
|
|
<servercmd>
|
|
|
|
REPLY PASS 332 please provide account name
|
|
|
|
REPLY ACCT 230 thank you
|
|
|
|
</servercmd>
|
2005-01-26 06:13:12 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
FTP RETR with ACCT
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2005-01-26 06:13:12 +08:00
|
|
|
ACCT one count
|
|
|
|
PWD
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 228
|
|
|
|
RETR 228
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|