• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4FTP
5PORT
6RETR
7NODATACONN150
8flaky
9timeout
10FAILURE
11</keywords>
12</info>
13# Server-side
14<reply>
15<data nocheck="yes">
16some bytes
17</data>
18<servercmd>
19NODATACONN150
20</servercmd>
21</reply>
22
23# Client-side
24<client>
25<server>
26ftp
27</server>
28 <name>
29FTP PORT download, no data conn and no transient negative reply
30 </name>
31 <command>
32--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
33</command>
34
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<strippart>
40s/^EPRT \|1\|(.*)/EPRT \|1\|/
41</strippart>
42
43# This test doesn't send a QUIT because the main state machine in multi.c
44# triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for
45# which the FTP disconnect code generically has to assume could mean the
46# control the connection and thus it cannot send any command.
47<protocol>
48USER anonymous
49PASS ftp@example.com
50PWD
51EPRT |1|
52TYPE I
53SIZE %TESTNUMBER
54RETR %TESTNUMBER
55</protocol>
56<errorcode>
5728
58</errorcode>
59</verify>
60</testcase>
61