• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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/138
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 138
46RETR 138
47QUIT
48</protocol>
49</verify>
50</testcase>
51