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