xref: /curl/tests/data/test270 (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>
20PASVBADIP
21</servercmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27ftp
28</server>
29<name>
30FTP RETR PASV --ftp-skip-pasv-ip
31</name>
32<command>
33ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-skip-pasv-ip --disable-epsv
34</command>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<strip>
40QUIT
41</strip>
42<protocol>
43USER anonymous
44PASS ftp@example.com
45PWD
46PASV
47TYPE I
48SIZE %TESTNUMBER
49RETR %TESTNUMBER
50QUIT
51</protocol>
52</verify>
53</testcase>
54