blob: f70eb078e9344caf77d698c3d1a4c335ae06d63e [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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
18REPLY SIZE 500 command not understood
19</servercmd>
20</reply>
21
22# Client-side
23<client>
24<server>
25ftp
26</server>
27 <name>
28FTP download without size in RETR string and no SIZE command
29 </name>
30 <command>
31ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
32</command>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD blalbla
42CWD lululul
43EPSV
44TYPE I
45SIZE %TESTNUMBER
46RETR %TESTNUMBER
47QUIT
48</protocol>
49</verify>
50</testcase>