FTP
PORT
NLST
--data-binary
# Server-side
REPLY NLST 450 No files found
# Client-side
ftp
FTP NLST dir list without contents, using PORT
ftp://%HOSTIP:%FTPPORT/ -P - -l
# 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
PORT 127,0,0,1,243,212
TYPE A
NLST
QUIT