FTP
EPRT
# Server-side
data blobb
REPLY EPRT 500 no such command
# Client-side
ftp
# EPRT is only sent when IPv6 is enabled
ipv6
Get two FTP files with no remote EPRT support
ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER -P -
data blobb
data blobb
# Verify data after the test has been "shot"
# Strip the addresses and port number but leave the rest
s/^(EPRT \|1\|)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|/$1/
s/^(PORT )\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}/$1/
USER anonymous
PASS ftp@example.com
PWD
CWD a
CWD path
EPRT |1|
PORT
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
PORT
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT