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/2000 file://localhost/%PWD/log/test2000.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 2000
RETR 2000
QUIT
data
    to
      see
that FTP
works
  so does it?
foo
   bar
bar
   foo
moo