aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test270
blob: c6f1ea394d8fd908b5ca4c040a15c2a3ff4165b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<testcase>
<info>
<keywords>
FTP
PASV
RETR
</keywords>
</info>
# Server-side
<reply>
<data>
data
    to
      see
that FTP
works
  so does it?
</data>
<servercmd>
PASVBADIP
</servercmd>
</reply>

# Client-side
<client>
<server>
ftp
</server>
 <name>
FTP RETR PASV --ftp-skip-pasv-ip
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
PASV
TYPE I
SIZE 270
RETR 270
QUIT
</protocol>
</verify>
</testcase>