FTP
# Server-side
foo
REPLY CWD 550 I won't allow this on my server
COUNT CWD 1
# Client-side
ftp
FTP with --ftp-create-dirs (failing CWD)
ftp://%HOSTIP:%FTPPORT/first/dir/here/%TESTNUMBER --ftp-create-dirs
# Verify data after the test has been "shot"
QUIT
# Strip all valid kinds of PORT and EPRT that curl can send
^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
USER anonymous
PASS ftp@example.com
PWD
CWD first
MKD first
CWD first
CWD dir
CWD here
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT