2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2007-12-09 06:56:17 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
2008-06-22 01:56:48 +08:00
|
|
|
NOBODY
|
2007-12-09 06:56:17 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-04-10 19:43:47 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
</data>
|
2007-07-22 05:49:23 +08:00
|
|
|
<size>
|
|
|
|
42
|
|
|
|
</size>
|
2003-04-10 19:43:47 +08:00
|
|
|
<mdtm>
|
|
|
|
213 20030409102659
|
|
|
|
</mdtm>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2003-04-10 19:43:47 +08:00
|
|
|
<name>
|
|
|
|
FTP download info with -I
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/blalbla/141 -I
|
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2003-04-10 19:43:47 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2003-04-10 19:43:47 +08:00
|
|
|
PWD
|
|
|
|
CWD blalbla
|
|
|
|
MDTM 141
|
|
|
|
TYPE I
|
|
|
|
SIZE 141
|
2003-07-30 15:52:02 +08:00
|
|
|
REST 0
|
2004-02-27 15:08:37 +08:00
|
|
|
QUIT
|
2003-04-10 19:43:47 +08:00
|
|
|
</protocol>
|
|
|
|
<stdout>
|
2004-11-29 20:01:07 +08:00
|
|
|
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
|
2007-07-22 05:49:23 +08:00
|
|
|
Content-Length: 42
|
|
|
|
Accept-ranges: bytes
|
2003-04-10 19:43:47 +08:00
|
|
|
</stdout>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|