xref: /curl/tests/data/test336 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6TYPE A
7RETR
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13data
14    to
15      see
16that FTP
17works
18  so does it?
19</data>
20<datacheck nonewline="yes">
21data
22</datacheck>
23<servercmd>
24REPLY EPSV 500 no such command
25REPLY SIZE 500 no such command
26</servercmd>
27</reply>
28
29# Client-side
30<client>
31<server>
32ftp
33</server>
34<name>
35FTP range download when SIZE doesn't work
36</name>
37<command>
38ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6
39</command>
40</client>
41
42# Verify data after the test has been "shot"
43<verify>
44<protocol>
45USER anonymous
46PASS ftp@example.com
47PWD
48EPSV
49PASV
50TYPE I
51SIZE %TESTNUMBER
52REST 3
53RETR %TESTNUMBER
54ABOR
55QUIT
56</protocol>
57</verify>
58</testcase>
59