1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<servercmd>
11REPLY CWD 550 I won't allow this on my server
12REPLY MKD 550 We will have no such thing
13</servercmd>
14</reply>
15
16# Client-side
17<client>
18<server>
19ftp
20</server>
21 <name>
22FTP with --ftp-create-dirs (failing MKD)
23 </name>
24 <command>
25ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs
26</command>
27</client>
28
29# Verify data after the test has been "shot"
30<verify>
31# Strip all valid kinds of PORT and EPRT that curl can send
32<strip>
33^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
34^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
35</strip>
36<errorcode>
379
38</errorcode>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43CWD attempt
44MKD attempt
45QUIT
46</protocol>
47</verify>
48</testcase>
49