FTP
PASV
FILE
multiprotocol
#
# Server-side
data
to
see
that FTP
works
so does it?
#
# Client-side
ftp
file
FTP RETR followed by FILE
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
foo
bar
bar
foo
moo
#
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT
data
to
see
that FTP
works
so does it?
foo
bar
bar
foo
moo