xref: /curl/tests/data/test138 (revision cd4aee15)
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/%TESTNUMBER
32</command>
33</client>
34
35# Verify data after the test has been "shot"
36<verify>
37<strip>
38QUIT
39</strip>
40<protocol>
41USER anonymous
42PASS ftp@example.com
43PWD
44CWD blalbla
45CWD lululul
46EPSV
47TYPE I
48SIZE %TESTNUMBER
49RETR %TESTNUMBER
50QUIT
51</protocol>
52</verify>
53</testcase>
54