Debian Codegraph @

curl/tests/data/test148

raw
1 # Server-side
2 <reply>
3 </reply>
4
5 # Client-side
6 <client>
7 <server>
8 ftp
9 </server>
10 <name>
11 FTP with --ftp-create-dirs (failing MKD)
12 </name>
13 <command>
14 ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
15 </command>
16 <file name="log/ftpserver.cmd">
17 REPLY CWD 550 I won't allow this on my server
18 REPLY MKD 550 We will have no such thing
19 </file>
20 </client>
21
22 # Verify data after the test has been "shot"
23 <verify>
24 # strip all kinds of PORT, EPRT and LPRT curl can do
25 <strip>
26 ^PORT 127,0,0,1,.*
27 ^EPRT.*
28 ^LPRT.*
29 </strip>
30 <errorcode>
31 9
32 </errorcode>
33 <protocol>
34 USER anonymous
35 PASS [email protected]
36 PWD
37 CWD attempt
38 MKD attempt
39 QUIT
40 </protocol>
41 </verify>