1<testcase>
2<info>
3<keywords>
4FTP
5RETR
6multi
7wildcardmatch
8ftplistparser
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data>
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21ftp
22</server>
23<tool>
24lib575
25</tool>
26 <name>
27FTP wildcard download - dup_handle and multi interface
28 </name>
29 <command>
30ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
31</command>
32</client>
33# Verify data after the test has been "shot"
34<verify>
35<errorcode>
360
37</errorcode>
38<protocol>
39USER anonymous
40PASS ftp@example.com
41PWD
42CWD fully_simulated
43CWD UNIX
44EPSV
45TYPE A
46LIST
47EPSV
48TYPE I
49RETR chmod1
50EPSV
51RETR chmod2
52EPSV
53RETR chmod3
54EPSV
55RETR empty_file.dat
56EPSV
57RETR file.txt
58EPSV
59RETR someothertext.txt
60CWD /
61CWD fully_simulated
62CWD UNIX
63EPSV
64TYPE A
65LIST
66EPSV
67TYPE I
68RETR chmod1
69EPSV
70RETR chmod2
71EPSV
72RETR chmod3
73EPSV
74RETR empty_file.dat
75EPSV
76RETR file.txt
77EPSV
78RETR someothertext.txt
79QUIT
80USER anonymous
81PASS ftp@example.com
82PWD
83CWD fully_simulated
84CWD UNIX
85EPSV
86TYPE A
87LIST
88EPSV
89TYPE I
90RETR chmod1
91EPSV
92RETR chmod2
93EPSV
94RETR chmod3
95EPSV
96RETR empty_file.dat
97EPSV
98RETR file.txt
99EPSV
100RETR someothertext.txt
101QUIT
102</protocol>
103<stdout mode="text">
104This file should have permissions 444
105This file should have permissions 666
106This file should have permissions 777
107This is content of file "file.txt"
108Some junk ;-) This file does not really exist.
109This file should have permissions 444
110This file should have permissions 666
111This file should have permissions 777
112This is content of file "file.txt"
113Some junk ;-) This file does not really exist.
114This file should have permissions 444
115This file should have permissions 666
116This file should have permissions 777
117This is content of file "file.txt"
118Some junk ;-) This file does not really exist.
119</stdout>
120</verify>
121</testcase>
122