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