FTP
PASV
RETR
# Server-side
silly data
over FTP
# Client-side
ftp
lib562
FTP a type=A URL and CURLOPT_PORT set
# note that we need quotes around the URL below to make sure the shell doesn't
# treat the semicolon as a separator!
'ftp://%HOSTIP:23456/562;type=A' %FTPPORT
# Verify data after the test has been "shot"
#
# There's no MTDM in the protocol here since this code doesn't ask for the
# time/date of the file
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE A
SIZE 562
RETR 562
QUIT