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