xref: /curl/tests/data/test525 (revision cd4aee15)
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>
23lib%TESTNUMBER
24</tool>
25<name>
26FTP PORT upload using multi interface
27</name>
28<command>
29ftp://%HOSTIP:%FTPPORT/path/%TESTNUMBER %LOGDIR/upload%TESTNUMBER
30</command>
31<file name="%LOGDIR/upload%TESTNUMBER">
32Moooooooooooo
33 upload this
34</file>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<strip>
40QUIT
41</strip>
42# Strip all valid kinds of PORT and EPRT that curl can send
43<strip>
44^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
45^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
46</strip>
47<protocol>
48USER anonymous
49PASS ftp@example.com
50PWD
51CWD path
52PORT 127,0,0,1,5,109
53TYPE I
54STOR %TESTNUMBER
55QUIT
56</protocol>
57<upload>
58Moooooooooooo
59 upload this
60</upload>
61</verify>
62</testcase>
63