blob: 94ca5f793cccfb70a80acc06724ccd14d7e6252a [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<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/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir1/%TESTNUMBER -T log/upload%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir2/%TESTNUMBER
22</command>
23<file name="log/upload%TESTNUMBER">
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 %TESTNUMBER
43CWD /
44CWD dir2
45EPSV
46STOR %TESTNUMBER
47QUIT
48</protocol>
49<file name="log/upload%TESTNUMBER">
50send away this contents
51</file>
52</verify>
53</testcase>