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/%TESTNUMBER --ftp-pret
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
PRET RETR %TESTNUMBER
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT