1<testcase>
2# Server-side
3<reply>
4<data>
5data blobb
6</data>
7<servercmd>
8REPLY EPRT 500 no such command
9</servercmd>
10</reply>
11
12# Client-side
13<client>
14<server>
15ftp
16</server>
17# EPRT is only sent when IPv6 is enabled
18<features>
19ipv6
20</features>
21 <name>
22Get two FTP files with no remote EPRT support
23 </name>
24 <command>
25ftp://%HOSTIP:%FTPPORT/a/path/212 ftp://%HOSTIP:%FTPPORT/a/path/212 -P -
26</command>
27<stdout>
28data blobb
29data blobb
30</stdout>
31</client>
32
33# Verify data after the test has been "shot"
34<verify>
35# Strip the addresses and port number but leave the rest
36<strippart>
37s/^(EPRT \|1\|)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|/$1/
38s/^(PORT )\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}/$1/
39</strippart>
40<protocol>
41USER anonymous
42PASS ftp@example.com
43PWD
44CWD a
45CWD path
46EPRT |1|
47PORT 
48TYPE I
49SIZE 212
50RETR 212
51PORT 
52SIZE 212
53RETR 212
54QUIT
55</protocol>
56</verify>
57</testcase>
58