#
# This test is like 585 but uses passive FTP instead of HTTP
#
FTP
#
# Server-side
moo
[OPEN] counter: 1
[OPEN] counter: 2
moo
[CLOSE] counter: 2
[CLOSE] counter: 1
# Client-side
ftp
# tool is what to use instead of 'curl'
lib585
verify close callbacks with passive FTP
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER log/ip%TESTNUMBER
#
# Verify data after the test has been "shot"
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT