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