xref: /curl/tests/data/test1086 (revision e70c22b6)
1<testcase>
2<info>
3<keywords>
4FTP
5EPSV
6RETR
7timeout
8FAILURE
9SLOWDOWNDATA
10flaky
11timing-dependent
12</keywords>
13</info>
14
15# Server-side
16<reply>
17<servercmd>
18SLOWDOWNDATA
19REPLY welcome 220 Hey
20REPLY USER 331 OK
21REPLY PASS 230 OK
22REPLY PWD 257 "/"
23REPLY TYPE 200 OK
24</servercmd>
25<data nocheck="yes">
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.
75Long chunk of data that couldn't possibly be sent in the time allotted.
76</data>
77</reply>
78
79# Client-side
80<client>
81<server>
82ftp
83</server>
84<killserver>
85ftp
86</killserver>
87<name>
88FTP download with strict timeout and slow data transfer
89</name>
90<command>
91ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 5
92</command>
93</client>
94
95# Verify data after the test has been "shot"
96<verify>
97# 28 is CURLE_OPERATION_TIMEDOUT
98<errorcode>
9928
100</errorcode>
101<protocol>
102USER anonymous
103PASS ftp@example.com
104PWD
105EPSV
106TYPE I
107SIZE %TESTNUMBER
108RETR %TESTNUMBER
109</protocol>
110</verify>
111</testcase>
112