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