xref: /curl/tests/data/test1207 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5PORT
6RETR
7NODATACONN421
8</keywords>
9</info>
10# Server-side
11<reply>
12<data nocheck="yes">
13some bytes
14</data>
15<servercmd>
16NODATACONN421
17</servercmd>
18</reply>
19
20# Client-side
21<client>
22<server>
23ftp
24</server>
25<name>
26FTP PORT and 421 on download
27</name>
28<command>
29--max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -P -
30</command>
31
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36<strippart>
37s/^EPRT \|1\|(.*)/EPRT \|1\|/
38</strippart>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43EPRT |1|
44TYPE I
45SIZE %TESTNUMBER
46RETR %TESTNUMBER
47QUIT
48</protocol>
49<errorcode>
5010
51</errorcode>
52</verify>
53</testcase>
54