FTP
PASV
CURLOPT_PORT
#
# Server-side
line 1
line 2
last line
[OPEN] counter: 1
[OPEN] counter: 2
line 1
line 2
last line
[CLOSE] counter: 2
[CLOSE] counter: 1
#
# Client-side
ftp
lib585
FTP and open/close socket callbacks
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT