FTP
PASV
RETR
post-quote
# Server-side
data
to
see
that FTP
works
so does it?
REPLY EPSV 314 bluah you f00l!
# Client-side
ftp
ftp download with post-quote delete operation
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -Q "-DELE file"
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
EPSV
PASV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
DELE file
QUIT