FTP
PASV
RETR
# Server-side
silly data
over FTP
# Client-side
ftp
lib%TESTNUMBER
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/%TESTNUMBER;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
QUIT
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE A
RETR %TESTNUMBER
QUIT