# Server-side data blobb REPLY EPRT 500 no such command # Client-side ipv6 ftp-ipv6 Get two FTP files with no remote EPRT support ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -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 212 RETR 212 PORT SIZE 212 RETR 212 QUIT