Debian Codegraph @

curl/tests/data/test230

raw
1 #
2 # Server-side
3 <reply>
4 <data nocheck=1>
5 contents of source file 230
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
18 </name>
19 <command>
20 ftp://%HOSTIP:%FTPPORT/dest/destpath/230 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/230 --3p-user daniel2:stenberg2
21 </command>
22 </client>
23
24 #
25 # Verify data after the test has been "shot"
26 <verify>
27 # target-side protocol check
28 <protocol>
29 USER daniel
30 PASS stenberg
31 PWD
32 TYPE I
33 CWD dest
34 CWD destpath
35 PASV
36 STOR 230
37 QUIT
38 </protocol>
39 <stripfile>
40 s/^(PORT 127,0,0,1).*/$1/
41 </stripfile>
42 <file name="log/server2.input">
43 USER daniel2
44 PASS stenberg2
45 PWD
46 TYPE I
47 PORT 127,0,0,1
48 RETR source/sourcepath/230
49 QUIT
50 </file>
51 </verify>