FTP
PORT
RETR
FAILURE
# Server-side
REPLY RETR 314 bluah you f00l!
REPLY SIZE 500 command not understood
# Client-side
ftp
FTP download, failed RETR with PORT
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
# Verify data after the test has been "shot"
QUIT
19
# 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
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT