Debian Codegraph @

curl/tests/data/test232

raw
1 #
2 # Server-side
3 <reply>
4 <data nocheck=1>
5 contents of source file 232
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, anonymous user
18 </name>
19 <command>
20 ftp://%HOSTIP:%FTPPORT/dest/destpath/232 --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/232
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 anonymous
30 PASS [email protected]
31 PWD
32 TYPE I
33 CWD dest
34 CWD destpath
35 PASV
36 STOR 232
37 QUIT
38 </protocol>
39 <stripfile>
40 s/^(PORT 127,0,0,1).*/$1/
41 </stripfile>
42 <file name="log/server2.input">
43 USER anonymous
44 PASS [email protected]
45 PWD
46 TYPE I
47 PORT 127,0,0,1
48 RETR source/sourcepath/232
49 QUIT
50 </file>
51 </verify>