2007-01-23 03:25:56 +01:00
|
|
|
<testcase>
|
2003-02-26 17:56:00 +01:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
this is file contents
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-04-30 22:25:39 +02:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2003-02-26 17:56:00 +01:00
|
|
|
<name>
|
|
|
|
FTP download without size in RETR string
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137
|
|
|
|
</command>
|
|
|
|
<file name="log/ftpserver.cmd">
|
|
|
|
RETRNOSIZE
|
|
|
|
</file>
|
2005-01-25 22:45:03 +01:00
|
|
|
</client>
|
2003-02-26 17:56:00 +01:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-13 23:50:16 +01:00
|
|
|
PASS ftp@example.com
|
2003-02-26 17:56:00 +01:00
|
|
|
PWD
|
2003-04-30 19:16:25 +02:00
|
|
|
CWD blalbla
|
|
|
|
CWD lululul
|
2003-02-26 17:56:00 +01:00
|
|
|
EPSV
|
|
|
|
TYPE I
|
|
|
|
SIZE 137
|
|
|
|
RETR 137
|
2004-02-27 08:08:37 +01:00
|
|
|
QUIT
|
2003-02-26 17:56:00 +01:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 03:25:56 +01:00
|
|
|
</testcase>
|