test1120 (598B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 PORT 6 RETR 7 421 8 timeout 9 FAILURE 10 </keywords> 11 </info> 12 # Server-side 13 <reply> 14 <servercmd> 15 REPLY CWD 421 Timeout! 16 </servercmd> 17 </reply> 18 19 # Client-side 20 <client> 21 <server> 22 ftp 23 </server> 24 <name> 25 FTP with 421 timeout response 26 </name> 27 <command> 28 ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER 29 </command> 30 </client> 31 32 # Verify data after the test has been "shot" 33 <verify> 34 # Strip all valid kinds of PORT and EPRT that curl can send 35 <protocol> 36 USER anonymous 37 PASS ftp@example.com 38 PWD 39 CWD a 40 </protocol> 41 # CURLE_OPERATION_TIMEDOUT is 28 42 <errorcode> 43 28 44 </errorcode> 45 </verify> 46 </testcase>