Debian Codegraph @

curl/tests/data/test119

raw
1 <info>
2 <keywords>
3 FTP
4 PORT
5 RETR
6 FAILURE
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 ftp
17 </server>
18 <name>
19 FTP download, failed RETR with PORT
20 </name>
21 <command>
22 ftp://%HOSTIP:%FTPPORT/119 -P -
23 </command>
24 <file name="log/ftpserver.cmd">
25 REPLY RETR 314 bluah you f00l!
26 </file>
27 </client>
28
29 # Verify data after the test has been "shot"
30 <verify>
31 <errorcode>
32 19
33 </errorcode>
34 <strip>
35 ^PORT.*
36 ^EPRT .*
37 ^LPRT .*
38 </strip>
39 <protocol>
40 USER anonymous
41 PASS [email protected]
42 PWD
43 TYPE I
44 SIZE 119
45 RETR 119
46 QUIT
47 </protocol>
48 </verify>