1<testcase>
2<info>
3<keywords>
4FTP
5RETR
6persistent connection
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data>
13this is file contents
14</data>
15</reply>
16
17# Client-side
18<client>
19<server>
20ftp
21</server>
22 <name>
23persistent FTP with different paths
24 </name>
25 <command>
26ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146
27</command>
28</client>
29
30# Verify data after the test has been "shot"
31<verify>
32# Strip all valid kinds of PORT and EPRT that curl can send
33<strip>
34^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
35^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
36</strip>
37<protocol>
38USER anonymous
39PASS ftp@example.com
40PWD
41CWD first
42CWD dir
43CWD here
44EPSV
45TYPE I
46SIZE 146
47RETR 146
48CWD /
49EPSV
50SIZE 146
51RETR 146
52QUIT
53</protocol>
54</verify>
55</testcase>
56