FTP
EPSV
netrc
macdef
#
# Server-side
blipp
#
# Client-side
ftp
skip 'macdef' when parsing netrc
--netrc --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
macdef testmacro
bin
cd default
cd login
put login.bin
cd ..
cd password
put password.bin
quit
machine %HOSTIP login user1 password passwd1
#
# Verify data after the test has been "shot"
USER user1
PASS passwd1
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER
QUIT