Debian Codegraph @

curl/tests/data/test231

raw
1 #
2 # Server-side
3 <reply>
4 <data nocheck=1>
5 contents of source file 231
6 </data>
7 </reply>
8
9 #
10 # Client-side
11 <client>
12 <server>
13 ftp
14 ftp2
15 </server>
16 <name>
17 FTP 3rd party transfer, make target use PORT
18 </name>
19 <command>
20 ftp://%HOSTIP:%FTPPORT/dest/destpath/231 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/231 --3p-user daniel2:stenberg2 -P -
21 </command>
22 </client>
23
24 #
25 # Verify data after the test has been "shot"
26 <verify>
27 # target-side protocol check
28 <strippart>>
29 s/^(PORT 127,0,0,1).*/$1/
30 </strippart>
31 <protocol>
32 USER daniel
33 PASS stenberg
34 PWD
35 TYPE I
36 CWD dest
37 CWD destpath
38 PORT 127,0,0,1
39 STOR 231
40 QUIT
41 </protocol>
42 <file name="log/server2.input">
43 USER daniel2
44 PASS stenberg2
45 PWD
46 TYPE I
47 PASV
48 RETR source/sourcepath/231
49 QUIT
50 </file>
51 </verify>