FTP
PASV
RETR
# Server-side
data
to
see
that FTP
works
so does it?
Content-Length: 51
Accept-ranges: bytes
# Client-side
ftp
lib%TESTNUMBER
FTP a file with NOBODY yes and HEADER no
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
#
# There's no MTDM in the protocol here since this code doesn't ask for the
# time/date of the file
QUIT
USER anonymous
PASS ftp@example.com
PWD
TYPE I
SIZE %TESTNUMBER
REST 0
QUIT