FTP
# Server-side
data blobb
# data is sent to stdout
# Client-side
ftp
Get two FTP files from the same remote dir: no second CWD
ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
data blobb
data blobb
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
CWD a
CWD path
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
EPSV
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT