1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<data>
11foo
12</data>
13<servercmd>
14REPLY CWD 550 I won't allow this on my server
15COUNT CWD 1
16</servercmd>
17</reply>
18
19# Client-side
20<client>
21<server>
22ftp
23</server>
24 <name>
25FTP with --ftp-create-dirs (failing CWD)
26 </name>
27 <command>
28ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
29</command>
30</client>
31
32# Verify data after the test has been "shot"
33<verify>
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<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43CWD first
44MKD first
45CWD first
46CWD dir
47CWD here
48EPSV
49TYPE I
50SIZE 147
51RETR 147
52QUIT
53</protocol>
54</verify>
55</testcase>
56