FTP
PORT
RETR
NODATACONN
# Server-side
some bytes
NODATACONN
# Client-side
ftp
FTP PORT download, no data conn and no positive preliminary reply
--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1209 -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 1209
RETR 1209
28