xref: /curl/tests/data/test1206 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5PORT
6RETR
7NODATACONN425
8</keywords>
9</info>
10# Server-side
11<reply>
12<data nocheck="yes">
13some bytes
14</data>
15<servercmd>
16NODATACONN425
17</servercmd>
18</reply>
19
20# Client-side
21<client>
22<server>
23ftp
24</server>
25<name>
26FTP PORT and 425 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>
5210 is CURLE_FTP_ACCEPT_FAILED
53<errorcode>
5410
55</errorcode>
56</verify>
57</testcase>
58