Debian Codegraph @

deps/curl/tests/data/test546

raw
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 multi
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data nocheck="yes">
13 data
14 to
15 see
16 that FTP
17 works
18 so does it?
19 </data>
20
21 <servercmd>
22 REPLY RETR 550 the file doesn't exist
23 COUNT RETR 1
24 REPLY SIZE 550 Can't check for file existence
25 COUNT SIZE 1
26 </servercmd>
27 </reply>
28
29 # Client-side
30 <client>
31 <server>
32 ftp
33 </server>
34 <tool>
35 lib533
36 </tool>
37 <name>
38 FTP RETR a non-existing file then a found one using the multi interface
39 </name>
40 <command>
41 ftp://%HOSTIP:%FTPPORT/path/546 ftp://%HOSTIP:%FTPPORT/path/546
42 </command>
43 </client>
44
45 # Verify data after the test has been "shot"
46 <verify>
47 <protocol>
48 USER anonymous
49 PASS [email protected]
50 PWD
51 CWD path
52 EPSV
53 TYPE I
54 SIZE 546
55 RETR 546
56 EPSV
57 SIZE 546
58 RETR 546
59 QUIT
60 </protocol>
61 <stdout>
62 data
63 to
64 see
65 that FTP
66 works
67 so does it?
68 </stdout>
69 </verify>
70 </testcase>