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