test586 (677B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 PASV 6 CURLOPT_PORT 7 </keywords> 8 </info> 9 # 10 # Server-side 11 <reply> 12 <data> 13 line 1 14 line 2 15 last line 16 </data> 17 <datacheck> 18 [OPEN] counter: 1 19 [OPEN] counter: 2 20 line 1 21 line 2 22 last line 23 [CLOSE] counter: 2 24 [CLOSE] counter: 1 25 </datacheck> 26 </reply> 27 28 # 29 # Client-side 30 <client> 31 <server> 32 ftp 33 </server> 34 <tool> 35 lib500 36 </tool> 37 <name> 38 FTP and open/close socket callbacks 39 </name> 40 <command> 41 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 42 </command> 43 </client> 44 45 # 46 # Verify data after the test has been "shot" 47 <verify> 48 <strip> 49 QUIT 50 </strip> 51 <protocol> 52 USER anonymous 53 PASS ftp@example.com 54 PWD 55 EPSV 56 TYPE I 57 SIZE %TESTNUMBER 58 RETR %TESTNUMBER 59 QUIT 60 </protocol> 61 </verify> 62 </testcase>