FTP
PASV
RETR
# Server-side
data
to
see
that FTP
works
so does it?
# Client-side
ftp
FTP fetch two files using absolute paths
ftp://%HOSTIP:%FTPPORT//foo/%TESTNUMBER ftp://%HOSTIP:%FTPPORT//foo/bar/%TESTNUMBER
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
CWD /
CWD foo
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
CWD /
CWD foo
CWD bar
EPSV
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT