1<testcase> 2<info> 3<keywords> 4FTP 5EPSV 6netrc 7macdef 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data> 14blipp 15</data> 16</reply> 17 18# 19# Client-side 20<client> 21<server> 22ftp 23</server> 24<name> 25skip 'macdef' when parsing netrc 26</name> 27<command> 28--netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 29</command> 30<file name="%LOGDIR/netrc%TESTNUMBER" > 31 32macdef testmacro 33 bin 34 cd default 35 cd login 36 put login.bin 37 cd .. 38 cd password 39 put password.bin 40 quit 41 42machine %HOSTIP login user1 password passwd1 43</file> 44</client> 45 46# 47# Verify data after the test has been "shot" 48<verify> 49<strip> 50QUIT 51</strip> 52<protocol> 53USER user1 54PASS passwd1 55PWD 56EPSV 57TYPE I 58SIZE %TESTNUMBER 59RETR %TESTNUMBER 60QUIT 61</protocol> 62</verify> 63</testcase> 64