xref: /curl/tests/data/test1207 (revision cd4aee15)
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<strip>
37QUIT
38</strip>
39<strippart>
40s/^EPRT \|1\|(.*)/EPRT \|1\|/
41</strippart>
42<protocol>
43USER anonymous
44PASS ftp@example.com
45PWD
46EPRT |1|
47TYPE I
48SIZE %TESTNUMBER
49RETR %TESTNUMBER
50QUIT
51</protocol>
52<errorcode>
5310
54</errorcode>
55</verify>
56</testcase>
57