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