FTP
PORT
RETR
NODATACONN150
flaky
# Server-side
some bytes
NODATACONN150
# Client-side
ftp
FTP PORT download, no data conn and no transient negative reply
--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
# Verify data after the test has been "shot"
s/^EPRT \|1\|(.*)/EPRT \|1\|/
# This test doesn't send a QUIT because the main state machine in multi.c
# triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for
# which the FTP disconnect code generically has to assume could mean the
# control the connection and thus it cannot send any command.
USER anonymous
PASS ftp@example.com
PWD
EPRT |1|
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
28