FTP RETR persistent connection # Server-side this is file contents # Client-side ftp persistent FTP with different paths ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146 # Verify data after the test has been "shot" # 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 CWD first CWD dir CWD here EPSV TYPE I SIZE 146 RETR 146 CWD / EPSV SIZE 146 RETR 146 QUIT