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