1<testcase> 2<info> 3<keywords> 4FTP 5PASV 6RETR 7multi 8</keywords> 9</info> 10# Server-side 11<reply> 12<data nocheck="yes"> 13data 14 to 15 see 16that FTP 17works 18 so does it? 19</data> 20 21<servercmd> 22REPLY RETR 550 the file doesn't exist 23COUNT RETR 1 24REPLY SIZE 500 Can't check for file existence 25COUNT SIZE 1 26</servercmd> 27</reply> 28 29# Client-side 30<client> 31<server> 32ftp 33</server> 34<tool> 35lib533 36</tool> 37<name> 38FTP RETR a non-existing file then a found one using the multi interface 39</name> 40<command> 41ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER 42</command> 43</client> 44 45# Verify data after the test has been "shot" 46<verify> 47<protocol> 48USER anonymous 49PASS ftp@example.com 50PWD 51CWD path 52EPSV 53TYPE I 54SIZE %TESTNUMBER 55RETR %TESTNUMBER 56EPSV 57SIZE %TESTNUMBER 58RETR %TESTNUMBER 59QUIT 60</protocol> 61<stdout> 62data 63 to 64 see 65that FTP 66works 67 so does it? 68</stdout> 69</verify> 70</testcase> 71