FTP
PASV
RETR
PRET
# Server-side
data
to
see
that FTP
works
so does it?
REPLY PRET 200 fine
# Client-side
ftp
FTP RETR PASV with PRET
ftp://%HOSTIP:%FTPPORT/1107 --ftp-pret
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
PRET RETR 1107
EPSV
TYPE I
SIZE 1107
RETR 1107
QUIT