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