1<testcase>
2<info>
3<keywords>
4FTP
5RETR
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11this is file contents
12</data>
13<size>
14-1
15</size>
16<servercmd>
17RETRNOSIZE
18</servercmd>
19</reply>
20
21# Client-side
22<client>
23<server>
24ftp
25</server>
26 <name>
27FTP download without size in RETR string and no SIZE command
28 </name>
29 <command>
30ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
31</command>
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36<protocol>
37USER anonymous
38PASS ftp@example.com
39PWD
40CWD blalbla
41CWD lululul
42EPSV
43TYPE I
44SIZE 138
45RETR 138
46QUIT
47</protocol>
48</verify>
49</testcase>
50