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