1<testcase> 2<info> 3<keywords> 4FTP 5EPSV 6RETR 7timeout 8FAILURE 9flaky 10</keywords> 11</info> 12 13# Server-side 14<reply> 15# Overload some standard FTP responses to make them shorter and faster 16# to avoid wasting time waiting for the data phase to start 17<servercmd> 18SLOWDOWN 19REPLY USER 331 OK 20REPLY PASS 230 OK 21REPLY PWD 257 "/" 22REPLY TYPE 200 OK 23</servercmd> 24<data nocheck="yes"> 25Long chunk of data that couldn't possibly be sent in the time allotted. 26Long chunk of data that couldn't possibly be sent in the time allotted. 27Long chunk of data that couldn't possibly be sent in the time allotted. 28Long chunk of data that couldn't possibly be sent in the time allotted. 29Long chunk of data that couldn't possibly be sent in the time allotted. 30Long chunk of data that couldn't possibly be sent in the time allotted. 31Long chunk of data that couldn't possibly be sent in the time allotted. 32Long chunk of data that couldn't possibly be sent in the time allotted. 33Long chunk of data that couldn't possibly be sent in the time allotted. 34Long chunk of data that couldn't possibly be sent in the time allotted. 35Long chunk of data that couldn't possibly be sent in the time allotted. 36Long chunk of data that couldn't possibly be sent in the time allotted. 37Long chunk of data that couldn't possibly be sent in the time allotted. 38Long chunk of data that couldn't possibly be sent in the time allotted. 39Long chunk of data that couldn't possibly be sent in the time allotted. 40Long chunk of data that couldn't possibly be sent in the time allotted. 41Long chunk of data that couldn't possibly be sent in the time allotted. 42Long chunk of data that couldn't possibly be sent in the time allotted. 43Long chunk of data that couldn't possibly be sent in the time allotted. 44Long chunk of data that couldn't possibly be sent in the time allotted. 45Long chunk of data that couldn't possibly be sent in the time allotted. 46Long chunk of data that couldn't possibly be sent in the time allotted. 47Long chunk of data that couldn't possibly be sent in the time allotted. 48Long chunk of data that couldn't possibly be sent in the time allotted. 49Long chunk of data that couldn't possibly be sent in the time allotted. 50Long chunk of data that couldn't possibly be sent in the time allotted. 51Long chunk of data that couldn't possibly be sent in the time allotted. 52Long chunk of data that couldn't possibly be sent in the time allotted. 53Long chunk of data that couldn't possibly be sent in the time allotted. 54Long chunk of data that couldn't possibly be sent in the time allotted. 55Long chunk of data that couldn't possibly be sent in the time allotted. 56Long chunk of data that couldn't possibly be sent in the time allotted. 57Long chunk of data that couldn't possibly be sent in the time allotted. 58Long chunk of data that couldn't possibly be sent in the time allotted. 59Long chunk of data that couldn't possibly be sent in the time allotted. 60Long chunk of data that couldn't possibly be sent in the time allotted. 61Long chunk of data that couldn't possibly be sent in the time allotted. 62Long chunk of data that couldn't possibly be sent in the time allotted. 63Long chunk of data that couldn't possibly be sent in the time allotted. 64Long chunk of data that couldn't possibly be sent in the time allotted. 65Long chunk of data that couldn't possibly be sent in the time allotted. 66Long chunk of data that couldn't possibly be sent in the time allotted. 67Long chunk of data that couldn't possibly be sent in the time allotted. 68Long chunk of data that couldn't possibly be sent in the time allotted. 69Long chunk of data that couldn't possibly be sent in the time allotted. 70Long chunk of data that couldn't possibly be sent in the time allotted. 71Long chunk of data that couldn't possibly be sent in the time allotted. 72Long chunk of data that couldn't possibly be sent in the time allotted. 73Long chunk of data that couldn't possibly be sent in the time allotted. 74Long chunk of data that couldn't possibly be sent in the time allotted. 75</data> 76</reply> 77 78# Client-side 79<client> 80<server> 81ftp 82</server> 83<killserver> 84ftp 85</killserver> 86 <name> 87FTP download with strict timeout and slow data transfer 88 </name> 89 <command timeout="1"> 90ftp://%HOSTIP:%FTPPORT/1086 -m 7 91</command> 92</client> 93 94# Verify data after the test has been "shot" 95<verify> 96# 28 is CURLE_OPERATION_TIMEDOUT 97<errorcode> 9828 99</errorcode> 100<protocol> 101USER anonymous 102PASS ftp@example.com 103PWD 104EPSV 105TYPE I 106SIZE 1086 107RETR 1086 108</protocol> 109</verify> 110</testcase> 111