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