Debian Codegraph @

curl/tests/data/test108

raw
1 <info>
2 <keywords>
3 FTP
4 PORT
5 STOR
6 </keywords>
7 </info>
8 # Server-side
9 <reply>
10 <data>
11 </data>
12 </reply>
13
14 # Client-side
15 <client>
16 <server>
17 ftp
18 </server>
19 <name>
20 FTP PORT upload with CWD
21 </name>
22 <command>
23 ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T log/upload108 -P -
24 </command>
25 <file name="log/upload108">
26 Moooooooooooo
27 upload this
28 </file>
29 </client>
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^PORT .*
35 ^EPRT .*
36 ^LPRT .*
37 </strip>
38 <protocol>
39 USER anonymous
40 PASS [email protected]
41 PWD
42 CWD CWD
43 CWD STOR
44 CWD RETR
45 PORT 127,0,0,1,5,109
46 TYPE I
47 STOR 108
48 QUIT
49 </protocol>
50 <upload>
51 Moooooooooooo
52 upload this
53 </upload>
54 </verify>