2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2005-03-08 03:09:14 -05:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
contents of file
|
|
|
|
</data>
|
|
|
|
</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>
|
|
|
|
<file name="log/ftpserver.cmd">
|
|
|
|
REPLY MDTM 213 20030405060708
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-13 17:50:16 -05:00
|
|
|
PASS ftp@example.com
|
2005-03-08 03:09:14 -05:00
|
|
|
PWD
|
|
|
|
MDTM 520
|
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 520
|
|
|
|
RETR 520
|
|
|
|
QUIT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|