test190 (583B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 timeout 6 FAILURE 7 DELAY 8 </keywords> 9 </info> 10 11 # Server-side 12 <reply> 13 <servercmd> 14 DELAY CWD 60 15 </servercmd> 16 </reply> 17 18 # Client-side 19 <client> 20 <server> 21 ftp 22 </server> 23 <killserver> 24 ftp 25 </killserver> 26 <name> 27 FTP download with strict timeout and slow CWD 28 </name> 29 <command> 30 ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER -m 10 31 </command> 32 </client> 33 34 # Verify data after the test has been "shot" 35 <verify> 36 # 28 is CURLE_OPERATION_TIMEDOUT 37 <errorcode> 38 28 39 </errorcode> 40 <protocol> 41 USER anonymous 42 PASS ftp@example.com 43 PWD 44 CWD path 45 </protocol> 46 </verify> 47 </testcase>