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