2007-01-23 03:25:56 +01:00
|
|
|
<testcase>
|
2005-03-08 09:09:14 +01:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
contents of file
|
|
|
|
</data>
|
2007-04-18 22:22:01 +02:00
|
|
|
<servercmd>
|
|
|
|
REPLY MDTM 213 20030405060708
|
|
|
|
</servercmd>
|
2005-03-08 09:09:14 +01: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-13 23:50:16 +01:00
|
|
|
PASS ftp@example.com
|
2005-03-08 09:09:14 +01:00
|
|
|
PWD
|
|
|
|
MDTM 520
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 520
|
|
|
|
RETR 520
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 03:25:56 +01:00
|
|
|
</testcase>
|