xref: /curl/tests/data/test336 (revision cd4aee15)
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<strip>
45QUIT
46</strip>
47<protocol>
48USER anonymous
49PASS ftp@example.com
50PWD
51EPSV
52PASV
53TYPE I
54SIZE %TESTNUMBER
55REST 3
56RETR %TESTNUMBER
57ABOR
58QUIT
59</protocol>
60</verify>
61</testcase>
62