FTP
PORT
RETR
# Server-side
data
to
see
that FTP
works
so does it?
# Client-side
ftp
FTP RETR PORT with CWD
ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
# Verify data after the test has been "shot"
s/^LPRT.*[\r\n]*//
s/^EPRT.*[\r\n]*//
s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD a
CWD path
PORT 127,0,0,1,
TYPE I
SIZE 103
RETR 103
QUIT