Debian Codegraph @

curl/tests/data/test145

raw
1 # Server-side
2 <reply>
3 <data>
4 </data>
5 </reply>
6
7 # Client-side
8 <client>
9 <server>
10 ftp
11 </server>
12 <name>
13 FTP NLST dir list with weird reply code, using PORT
14 </name>
15 <command>
16 ftp://%HOSTIP:%FTPPORT/ -P - -l
17 </command>
18 <file name="log/ftpserver.cmd">
19 REPLY NLST 550 Have a taste on this!
20 </file>
21 </client>
22
23 # Verify data after the test has been "shot"
24 <verify>
25 <errorcode>
26 19
27 </errorcode>
28 # strip all kinds of PORT, EPRT and LPRT curl can do
29 <strip>
30 ^PORT 127,0,0,1,.*
31 ^EPRT.*
32 ^LPRT.*
33 </strip>
34 <protocol>
35 USER anonymous
36 PASS [email protected]
37 PWD
38 PORT 127,0,0,1,243,212
39 TYPE A
40 NLST
41 QUIT
42 </protocol>
43 </verify>