2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-03-08 16:09:14 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
contents of file
|
|
|
|
</data>
|
2007-04-19 04:22:01 +08:00
|
|
|
<servercmd>
|
|
|
|
REPLY MDTM 213 20030405060708
|
|
|
|
</servercmd>
|
2005-03-08 16:09:14 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
|
|
|
# tool is what to use instead of 'curl'
|
|
|
|
<tool>
|
|
|
|
lib520
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
FTP RETR with FILETIME
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/520
|
|
|
|
</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-03-08 16:09:14 +08:00
|
|
|
PWD
|
|
|
|
MDTM 520
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 520
|
|
|
|
RETR 520
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|