FTP
PORT
RETR
NODATACONN421
# Server-side
some bytes
NODATACONN421
# Client-side
ftp
FTP PORT and 421 on download
--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1207 -P -
# Verify data after the test has been "shot"
s/^EPRT \|1\|(.*)/EPRT \|1\|/
# The protocol part does not include QUIT simply because the error is
# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
# specificly saying for which connection it concerns, and for timeouts libcurl
# marks the control channel as "invalid". As this test case times out for the
# data connection it could still use the control channel.
USER anonymous
PASS ftp@example.com
PWD
EPRT |1|
TYPE I
SIZE 1207
RETR 1207
28