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