• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/531 log/upload531
33</command>
34<file name="log/upload531">
35Moooooooooooo
36don't upload this
37</file>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
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 531
55QUIT
56</protocol>
57
58</verify>
59</testcase>
60