xref: /curl/tests/data/test148 (revision cd4aee15)
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/%TESTNUMBER --ftp-create-dirs
26</command>
27</client>
28
29# Verify data after the test has been "shot"
30<verify>
31<strip>
32QUIT
33</strip>
34# Strip all valid kinds of PORT and EPRT that curl can send
35<strip>
36^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
37^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
38</strip>
39<errorcode>
409
41</errorcode>
42<protocol>
43USER anonymous
44PASS ftp@example.com
45PWD
46CWD attempt
47MKD attempt
48CWD attempt
49QUIT
50</protocol>
51</verify>
52</testcase>
53