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/586
#
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE 586
RETR 586
QUIT