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