FTP
PORT
CURLOPT_SOCKOPTFUNCTION
# Server-side
hello
# Client-side
ftp
lib%TESTNUMBER
FTP PORT with sockopt callback refusing the accept
ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER
# Verify data after the test has been "shot"
# Strip off parts of the PORT and EPRT commands that might differ
s/^PORT (.*)/PORT/
s/^EPRT \|1\|(.*)/EPRT \|1\|/
USER anonymous
PASS ftp@example.com
PWD
CWD path
EPRT |1|
# 42 == CURLE_ABORTED_BY_CALLBACK
42