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