1<testcase> 2# This is the ftps equivalent of test1086 3<info> 4<keywords> 5FTPS 6EPSV 7RETR 8timeout 9FAILURE 10SLOWDOWN 11timing-dependent 12</keywords> 13</info> 14 15# Server-side 16<reply> 17# Overload some standard FTP responses to make them shorter and faster 18# to avoid wasting time waiting for the data phase to start 19<servercmd> 20SLOWDOWN 21REPLY welcome 220 Hey 22REPLY USER 331 OK 23REPLY PASS 230 OK 24REPLY PWD 257 "/" 25REPLY TYPE 200 OK 26</servercmd> 27<data nocheck="yes"> 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. 75Long chunk of data that couldn't possibly be sent in the time allotted. 76Long chunk of data that couldn't possibly be sent in the time allotted. 77Long chunk of data that couldn't possibly be sent in the time allotted. 78</data> 79</reply> 80 81# Client-side 82<client> 83<features> 84SSL 85</features> 86<server> 87ftps 88</server> 89<killserver> 90ftps 91</killserver> 92<name> 93FTPS download with strict timeout and slow data transfer 94</name> 95<command> 96-k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -m 16 97</command> 98</client> 99 100# Verify data after the test has been "shot" 101<verify> 102# 28 is CURLE_OPERATION_TIMEDOUT 103<errorcode> 10428 105</errorcode> 106<protocol> 107USER anonymous 108PASS ftp@example.com 109PBSZ 0 110PROT C 111PWD 112EPSV 113TYPE I 114SIZE %TESTNUMBER 115RETR %TESTNUMBER 116</protocol> 117</verify> 118</testcase> 119