FTP
EPSV
RETR
post-quote
pre-quote
# Server-side
data
to
see
that FTP
works
so does it?
# Client-side
ftp
ftp download with post- and pre-transfer delete operations
ftp://%HOSTIP:%FTPPORT/121 -Q "-DELE after_transfer" -Q "DELE before_transfer"
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
DELE before_transfer
EPSV
TYPE I
SIZE 121
RETR 121
DELE after_transfer
QUIT